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/core/StarString.hpp | |
parent | b8da62bf43e42e6fc895664a9faf621cbe0325c8 (diff) |
Use "#pragma once" instead of include guards
Diffstat (limited to 'source/core/StarString.hpp')
-rw-r--r-- | source/core/StarString.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/core/StarString.hpp b/source/core/StarString.hpp index 10f5b9f..154a4bc 100644 --- a/source/core/StarString.hpp +++ b/source/core/StarString.hpp @@ -1,5 +1,4 @@ -#ifndef STAR_STRING_HPP -#define STAR_STRING_HPP +#pragma once #include "StarUnicode.hpp" #include "StarHash.hpp" @@ -522,5 +521,3 @@ StringList StringList::sorted(Comparator&& comparator) const { template <> struct fmt::formatter<Star::String> : formatter<std::string> { fmt::appender format(Star::String const& s, format_context& ctx) const; }; - -#endif |