From a8a4caf0e415459148430cfac95ecdbb87584234 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Sat, 12 Oct 2013 19:12:00 -0700 Subject: [PATCH] Make List<>::Node not uncopyable --- src/beast/beast/intrusive/List.h | 2 +- src/beast/modules/beast_core/thread/DeadlineTimer.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/beast/beast/intrusive/List.h b/src/beast/beast/intrusive/List.h index 560f309266..6aee1afc03 100644 --- a/src/beast/beast/intrusive/List.h +++ b/src/beast/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/src/beast/modules/beast_core/thread/DeadlineTimer.h b/src/beast/modules/beast_core/thread/DeadlineTimer.h index cde0d0d793..3fe462adef 100644 --- a/src/beast/modules/beast_core/thread/DeadlineTimer.h +++ b/src/beast/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.