Make timer class non copyable
This commit is contained in:
@@ -98,8 +98,12 @@ public:
|
||||
|
||||
Timer(void);
|
||||
|
||||
/// Make the timer non copyable
|
||||
Timer(const Timer& _other) = delete;
|
||||
|
||||
/// Make the timer non copyable
|
||||
Timer& operator=( const Timer& ) = delete;
|
||||
|
||||
~Timer(void);
|
||||
|
||||
/// Returns true if self is in a valid state!
|
||||
@@ -144,6 +148,8 @@ public:
|
||||
*/
|
||||
static std::string as_string(double seconds, Format format = Automatic);
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//@{
|
||||
|
||||
Reference in New Issue
Block a user