Commit 33ab9259 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Merged trac3922 (Stopwatch not copyable)

parents 2cc20c79 651f711c
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#ifndef STOPWATCH_H #ifndef STOPWATCH_H
#define STOPWATCH_H #define STOPWATCH_H
#include <boost/noncopyable.hpp>
#include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/posix_time/posix_time.hpp>
namespace isc { namespace isc {
...@@ -39,7 +40,7 @@ class StopwatchImpl; ...@@ -39,7 +40,7 @@ class StopwatchImpl;
/// @c start and @c stop consecutively. The total measured time will be /// @c start and @c stop consecutively. The total measured time will be
/// a sum of durations between the invocations of respective starts and /// a sum of durations between the invocations of respective starts and
/// stops. /// stops.
class Stopwatch { class Stopwatch : boost::noncopyable {
public: public:
/// @brief Constructor. /// @brief Constructor.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment