|
@@ -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;
|
|
/// @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.
|