Replace ifdef guards with #pragma once

tl;dr this has potentially significant compilation speed benefits.
This commit is contained in:
2020-08-23 19:14:54 +02:00
parent 1281fdaaf0
commit 651ccba932
11 changed files with 11 additions and 44 deletions

View File

@@ -1,5 +1,4 @@
#ifndef _NM_HPP
#define _NM_HPP
#pragma once
#include "CNShardServer.hpp"
@@ -17,5 +16,3 @@ namespace NanoManager {
void setNanoSkill(CNSocket* sock, int16_t nanoId, int16_t skillId);
void resetNanoSkill(CNSocket* sock, int16_t nanoId);
}
#endif