From cf397f3af828bf1f87392a5a1c349284589d25af Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sat, 12 Feb 2022 18:19:17 +0100 Subject: Changed brace-style --- Src/StringTools.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Src/StringTools.h') diff --git a/Src/StringTools.h b/Src/StringTools.h index 589c047..0c08805 100644 --- a/Src/StringTools.h +++ b/Src/StringTools.h @@ -1,4 +1,6 @@ -#pragma once +#ifndef STRINGTOOLS_STRINGTOOLS_H +#define STRINGTOOLS_STRINGTOOLS_H + #include /* Handy utensils to manipulate strings */ @@ -17,13 +19,15 @@ public: //! Will replace every occurence of `find` in `str` by `subst`. static std::string Replace(const std::string& str, const std::string& find, const char subst); - //! Will make a string all-lowercase. Only works with latin and german umlautes, plus some extras. + //! Will make a string all-lowercase. static std::string Lower(const std::string& str); - //! Will make a string all-uppercase. Only works with latin and german umlautes, plus some extras. + //! Will make a string all-uppercase. static std::string Upper(const std::string& str); private: // No instanciation! >:( StringTools(); }; + +#endif //STRINGTOOLS_STRINGTOOLS_H -- cgit v1.2.3