Make sure all classes have sensible copy semantics
[libs/core.git] / source / debug / profiler.h
index 7a82c5631899699cb42d04773bbf6e4c9ec5b4e9..521ce959c5de7cae234c04ae8de5861ac3f6b42e 100644 (file)
@@ -4,6 +4,7 @@
 #include <map>
 #include <string>
 #include <vector>
+#include <msp/core/noncopyable.h>
 #include <msp/time/timedelta.h>
 #include <msp/time/timestamp.h>
 
@@ -24,7 +25,7 @@ profiled.
 Note: This is not thread-safe.  To profile multiple threads, create a separate
 Profiler for each thread.
 */
-class Profiler
+class Profiler: private NonCopyable
 {
 public:
        struct CallInfo