diff --git a/include/ola/thread/FuturePrivate.h b/include/ola/thread/FuturePrivate.h index e2f065fb9f..7e3fdac5c3 100644 --- a/include/ola/thread/FuturePrivate.h +++ b/include/ola/thread/FuturePrivate.h @@ -89,7 +89,8 @@ class FutureImpl { bool m_is_set; T m_value; - DISALLOW_COPY_AND_ASSIGN(FutureImpl); + FutureImpl(const FutureImpl&) = delete; + FutureImpl& operator=(const FutureImpl&) = delete; }; /** @@ -152,7 +153,8 @@ class FutureImpl { unsigned int m_ref_count; bool m_is_set; - DISALLOW_COPY_AND_ASSIGN(FutureImpl); + FutureImpl(const FutureImpl&) = delete; + FutureImpl& operator=(const FutureImpl&) = delete; }; } // namespace thread