mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-16 18:10:05 +00:00
Replace ifdef guards with #pragma once
tl;dr this has potentially significant compilation speed benefits.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef _CNP_HPP
|
||||
#define _CNP_HPP
|
||||
#pragma once
|
||||
|
||||
#define MAX_PACKETSIZE 8192
|
||||
#define DEBUGLOG(x) x
|
||||
@@ -152,5 +151,3 @@ public:
|
||||
virtual void killConnection(CNSocket* cns);
|
||||
virtual void onTimer(); // called every 2 seconds
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user