mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-20 15:48:05 +03:00
Disable undesirable copying Timer objects.
This commit is contained in:
parent
01f8fee238
commit
88b1c7e738
@ -22,6 +22,10 @@ class Timer
|
||||
uint64_t m_wall; // wall-clock time in microseconds
|
||||
CPUTime m_start_time;
|
||||
|
||||
// No copying allowed
|
||||
Timer(const Timer&);
|
||||
void operator=(const Timer&);
|
||||
|
||||
public:
|
||||
/**
|
||||
* 'm_is_running' is initially false. A timer needs to be explicitly started
|
||||
|
Loading…
Reference in New Issue
Block a user