we play a little fast and loose with Timer, ensure it gets no vtable
This commit is contained in:
parent
2193634e24
commit
5644312cbe
|
@ -10,7 +10,7 @@
|
||||||
* Helper class with "has X amount of time elapsed since most recent reset" methods
|
* Helper class with "has X amount of time elapsed since most recent reset" methods
|
||||||
* Brand new instances have most recent reset time far in the past, i.e. "hasElapse" is true for any reasonable range
|
* Brand new instances have most recent reset time far in the past, i.e. "hasElapse" is true for any reasonable range
|
||||||
*/
|
*/
|
||||||
class Timer {
|
class Timer final {
|
||||||
public:
|
public:
|
||||||
Timer();
|
Timer();
|
||||||
void reset();
|
void reset();
|
||||||
|
|
Loading…
Reference in New Issue