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

summaryrefslogtreecommitdiff
path: root/source/platform
diff options
context:
space:
mode:
Diffstat (limited to 'source/platform')
-rw-r--r--source/platform/StarDesktopService.hpp5
-rw-r--r--source/platform/StarP2PNetworkingService.hpp5
-rw-r--r--source/platform/StarStatisticsService.hpp5
-rw-r--r--source/platform/StarUserGeneratedContentService.hpp5
4 files changed, 4 insertions, 16 deletions
diff --git a/source/platform/StarDesktopService.hpp b/source/platform/StarDesktopService.hpp
index dafdc74..4de7113 100644
--- a/source/platform/StarDesktopService.hpp
+++ b/source/platform/StarDesktopService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_DESKTOP_SERVICE_HPP
-#define STAR_DESKTOP_SERVICE_HPP
+#pragma once
namespace Star {
@@ -13,5 +12,3 @@ public:
};
}
-
-#endif
diff --git a/source/platform/StarP2PNetworkingService.hpp b/source/platform/StarP2PNetworkingService.hpp
index 562c2cb..288902c 100644
--- a/source/platform/StarP2PNetworkingService.hpp
+++ b/source/platform/StarP2PNetworkingService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_P2P_NETWORKING_SERVICE_HPP
-#define STAR_P2P_NETWORKING_SERVICE_HPP
+#pragma once
#include "StarEither.hpp"
#include "StarHostAddress.hpp"
@@ -61,5 +60,3 @@ public:
};
};
-
-#endif
diff --git a/source/platform/StarStatisticsService.hpp b/source/platform/StarStatisticsService.hpp
index c6afec7..16f5cce 100644
--- a/source/platform/StarStatisticsService.hpp
+++ b/source/platform/StarStatisticsService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_STATS_BACKEND_HPP
-#define STAR_STATS_BACKEND_HPP
+#pragma once
#include "StarJson.hpp"
@@ -36,5 +35,3 @@ public:
};
}
-
-#endif
diff --git a/source/platform/StarUserGeneratedContentService.hpp b/source/platform/StarUserGeneratedContentService.hpp
index 3a582ba..ae55f85 100644
--- a/source/platform/StarUserGeneratedContentService.hpp
+++ b/source/platform/StarUserGeneratedContentService.hpp
@@ -1,5 +1,4 @@
-#ifndef STAR_USER_GENERATED_CONTENT_SERVICE_HPP
-#define STAR_USER_GENERATED_CONTENT_SERVICE_HPP
+#pragma once
namespace Star {
@@ -22,5 +21,3 @@ public:
};
}
-
-#endif