aboutsummaryrefslogtreecommitdiff
path: root/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'timer.h')
-rw-r--r--timer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/timer.h b/timer.h
index 933c02c..ce0e629 100644
--- a/timer.h
+++ b/timer.h
@@ -45,6 +45,11 @@ struct scoped_timer {
m_timer.stop();
}
+ scoped_timer(const scoped_timer&) = delete;
+ scoped_timer& operator=(const scoped_timer&) = delete;
+ scoped_timer(scoped_timer&&) = delete;
+ scoped_timer& operator=(scoped_timer&&) = delete;
+
private:
timer& m_timer;
};