mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -59,11 +59,7 @@ double GetTime() {
|
||||
* not running and
|
||||
* must be started.
|
||||
*/
|
||||
Timer::Timer()
|
||||
: m_startTime(0.0),
|
||||
m_accumulatedTime(0.0),
|
||||
m_running(false),
|
||||
m_semaphore(nullptr) {
|
||||
Timer::Timer() {
|
||||
// Creates a semaphore to control access to critical regions.
|
||||
// Initially 'open'
|
||||
m_semaphore = initializeMutexNormal();
|
||||
|
||||
Reference in New Issue
Block a user