From 651f711cc3289fd0d81b8a1af745dcea1b0f8e90 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 24 Jun 2015 19:45:57 +0200 Subject: [PATCH] [3922] Made Stopwatch not copyable --- src/lib/util/stopwatch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/util/stopwatch.h b/src/lib/util/stopwatch.h index 2d57a17325..304e285e64 100644 --- a/src/lib/util/stopwatch.h +++ b/src/lib/util/stopwatch.h @@ -15,6 +15,7 @@ #ifndef STOPWATCH_H #define STOPWATCH_H +#include #include namespace isc { @@ -39,7 +40,7 @@ class StopwatchImpl; /// @c start and @c stop consecutively. The total measured time will be /// a sum of durations between the invocations of respective starts and /// stops. -class Stopwatch { +class Stopwatch : boost::noncopyable { public: /// @brief Constructor. -- 2.47.2