mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-11-24 10:10:22 +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 _CNLS_HPP
|
||||
#define _CNLS_HPP
|
||||
#pragma once
|
||||
|
||||
#include "CNProtocol.hpp"
|
||||
#include "Defines.hpp"
|
||||
@@ -24,5 +23,3 @@ public:
|
||||
void newConnection(CNSocket* cns);
|
||||
void killConnection(CNSocket* cns);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user