From 3073a88cd16b6e85401363c814e5ac7ae11b9270 Mon Sep 17 00:00:00 2001 From: Kai Blaschke Date: Sun, 25 Feb 2024 15:46:47 +0100 Subject: Use "#pragma once" instead of include guards --- source/core/StarString.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/core/StarString.hpp') 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 : formatter { fmt::appender format(Star::String const& s, format_context& ctx) const; }; - -#endif -- cgit v1.2.3