mirror of
https://github.com/boostorg/move.git
synced 2026-07-05 08:00:48 +02:00
Always start timer stopped.
This commit is contained in:
@@ -198,7 +198,7 @@ class cpu_timer
|
||||
public:
|
||||
|
||||
// constructor
|
||||
cpu_timer() BOOST_NOEXCEPT { start(); }
|
||||
cpu_timer() BOOST_NOEXCEPT : m_is_stopped(true) {}
|
||||
|
||||
// observers
|
||||
bool is_stopped() const BOOST_NOEXCEPT { return m_is_stopped; }
|
||||
|
||||
Reference in New Issue
Block a user