Switched from the service locator pattern to singleton pattern

This commit is contained in:
Kayne Ruse
2013-06-24 09:00:50 +10:00
parent 7ad855348f
commit f049c96df7
12 changed files with 41 additions and 69 deletions
+1 -5
View File
@@ -1,5 +1 @@
#include "service_locator.hpp"
int FooBar() {
return *ServiceLocator<int>::Get();
}
#include "foobar.hpp"