Refactored out the horrible static var in CoreTiming
This commit is contained in:
parent
917d651a3c
commit
4aab38f133
6 changed files with 15 additions and 11 deletions
|
@ -9,9 +9,13 @@ namespace Core {
|
|||
template <class T>
|
||||
T& Global();
|
||||
|
||||
// Declare explicit specialisation to prevent im
|
||||
// Declare explicit specialisation to prevent automatic instantiation
|
||||
class System;
|
||||
template <>
|
||||
System& Global();
|
||||
|
||||
class Timing;
|
||||
template <>
|
||||
Timing& Global();
|
||||
|
||||
} // namespace Core
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue