mirror of
https://bitbucket.org/Mattrixwv/my-classes.git
synced 2026-02-04 03:12:27 -05:00
Added include guard
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
//Modified: 10-30-2018
|
//Modified: 10-30-2018
|
||||||
//This file creates a class that can be used on many programs to time them
|
//This file creates a class that can be used on many programs to time them
|
||||||
|
|
||||||
|
#ifndef STOPWATCH_HPP
|
||||||
|
#define STOPWATCH_HPP
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
@@ -78,3 +80,5 @@ public:
|
|||||||
endTime = startTime = std::chrono::high_resolution_clock::time_point();
|
endTime = startTime = std::chrono::high_resolution_clock::time_point();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif //end STOPWATCH_HPP
|
||||||
|
|||||||
Reference in New Issue
Block a user