diff options
author | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-25 15:46:47 +0100 |
---|---|---|
committer | Kai Blaschke <kai.blaschke@kb-dev.net> | 2024-02-25 15:46:47 +0100 |
commit | 3073a88cd16b6e85401363c814e5ac7ae11b9270 (patch) | |
tree | 30050be82e0056a2ceaf8233d5e88f2946773a53 /source/platform | |
parent | b8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff) |
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/platform')
-rw-r--r-- | source/platform/StarDesktopService.hpp | 5 | ||||
-rw-r--r-- | source/platform/StarP2PNetworkingService.hpp | 5 | ||||
-rw-r--r-- | source/platform/StarStatisticsService.hpp | 5 | ||||
-rw-r--r-- | source/platform/StarUserGeneratedContentService.hpp | 5 |
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 |