From 49bc04fa48a5a45df78a5fe2080dc224f202d6f2 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 --- beast/intrusive/List.h | 2 +- modules/beast_core/thread/DeadlineTimer.h | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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.