From: Francis Dupont Date: Wed, 24 Jun 2015 17:45:57 +0000 (+0200) Subject: [3922] Made Stopwatch not copyable X-Git-Tag: sedhcpv6a_0^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=651f711cc3289fd0d81b8a1af745dcea1b0f8e90;p=thirdparty%2Fkea.git [3922] Made Stopwatch not copyable --- 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.