diff options
Diffstat (limited to 'timer.h')
-rw-r--r-- | timer.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; }; |