Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/server
diff options
context:
space:
mode:
Diffstat (limited to 'source/server')
-rw-r--r--source/server/StarServerQueryThread.hpp5
-rw-r--r--source/server/StarServerRconClient.hpp5
-rw-r--r--source/server/StarServerRconThread.hpp5
3 files changed, 3 insertions, 12 deletions
diff --git a/source/server/StarServerQueryThread.hpp b/source/server/StarServerQueryThread.hpp
index 3fb3339..54ab93f 100644
--- a/source/server/StarServerQueryThread.hpp
+++ b/source/server/StarServerQueryThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SERVER_QUERY_THREAD_HPP
-#define STAR_SERVER_QUERY_THREAD_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarHostAddress.hpp"
@@ -104,5 +103,3 @@ private:
};
}
-
-#endif
diff --git a/source/server/StarServerRconClient.hpp b/source/server/StarServerRconClient.hpp
index 8c9bb25..bfca40f 100644
--- a/source/server/StarServerRconClient.hpp
+++ b/source/server/StarServerRconClient.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SERVER_RCON_CLIENT_HPP
-#define STAR_SERVER_RCON_CLIENT_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarTcp.hpp"
@@ -47,5 +46,3 @@ private:
};
typedef shared_ptr<ServerRconClient> ServerRconClientPtr;
}
-
-#endif
diff --git a/source/server/StarServerRconThread.hpp b/source/server/StarServerRconThread.hpp
index ea1b649..972a585 100644
--- a/source/server/StarServerRconThread.hpp
+++ b/source/server/StarServerRconThread.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_SERVER_RCON_THREAD_HPP
-#define STAR_SERVER_RCON_THREAD_HPP
+#pragma once
#include "StarThread.hpp"
#include "StarTcp.hpp"
@@ -32,5 +31,3 @@ private:
};
}
-
-#endif