Switched from the service locator pattern to singleton pattern
This commit is contained in:
+1
-5
@@ -1,5 +1 @@
|
||||
#include "service_locator.hpp"
|
||||
|
||||
int FooBar() {
|
||||
return *ServiceLocator<int>::Get();
|
||||
}
|
||||
#include "foobar.hpp"
|
||||
|
||||
Reference in New Issue
Block a user