diff --git a/beast/intrusive/List.h b/beast/intrusive/List.h index 560f30926..6aee1afc0 100644 --- a/beast/intrusive/List.h +++ b/beast/intrusive/List.h @@ -41,7 +41,7 @@ namespace detail // concurrently is required. // template -class ListNode : public Uncopyable +class ListNode { private: typedef T value_type; diff --git a/modules/beast_core/thread/DeadlineTimer.h b/modules/beast_core/thread/DeadlineTimer.h index cde0d0d79..3fe462ade 100644 --- a/modules/beast_core/thread/DeadlineTimer.h +++ b/modules/beast_core/thread/DeadlineTimer.h @@ -22,7 +22,9 @@ /** Provides periodic or one time notifications at a specified time interval. */ -class DeadlineTimer : public List ::Node +class DeadlineTimer + : public List ::Node + , public Uncopyable { public: /** Listener for a deadline timer.