mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-09-28 18:57:35 +00:00
Replace ifdef guards with #pragma once
tl;dr this has potentially significant compilation speed benefits.
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
There's some data shared between the Login Server and the Shard Server. Of course all of this needs to be thread-safe. No mucking about on this one!
|
||||
*/
|
||||
|
||||
#ifndef _CNSD_HPP
|
||||
#define _CNSD_HPP
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
@@ -19,5 +18,3 @@ namespace CNSharedData {
|
||||
Player getPlayer(int64_t sk);
|
||||
void erasePlayer(int64_t sk);
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user