working on the server's skeleton, still slow going
This commit is contained in:
+7
-1
@@ -1,13 +1,19 @@
|
||||
//#include "packet_type.hpp"
|
||||
#include "packet_type.hpp"
|
||||
#include "service_locator.hpp"
|
||||
#include "foobar.hpp"
|
||||
|
||||
#include "vector2.hpp"
|
||||
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
ServiceLocator<int>::Set(new int(42));
|
||||
ServiceLocator<Packet>::Set(new Packet());
|
||||
|
||||
cout << FooBar() << endl;
|
||||
|
||||
ServiceLocator<int>::Set(nullptr);
|
||||
ServiceLocator<Packet>::Set(nullptr);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user