From 5e5c9c07291f6b09623d31c92b1fb61c4ede576e Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Thu, 22 Feb 2018 16:54:34 +0100 Subject: Applied clang-format on source --- src/shared/util.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'src/shared/util.h') diff --git a/src/shared/util.h b/src/shared/util.h index 1e498059..4b390cf3 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -20,7 +20,6 @@ along with Mod Organizer. If not, see . #ifndef UTIL_H #define UTIL_H - #include #define WIN32_LEAN_AND_MEAN #include @@ -28,23 +27,23 @@ along with Mod Organizer. If not, see . namespace MOShared { /// Test if a file (or directory) by the specified name exists -bool FileExists(const std::string &filename); -bool FileExists(const std::wstring &filename); +bool FileExists(const std::string& filename); +bool FileExists(const std::wstring& filename); -bool FileExists(const std::wstring &searchPath, const std::wstring &filename); +bool FileExists(const std::wstring& searchPath, const std::wstring& filename); -std::string ToString(const std::wstring &source, bool utf8); -std::wstring ToWString(const std::string &source, bool utf8); +std::string ToString(const std::wstring& source, bool utf8); +std::wstring ToWString(const std::string& source, bool utf8); -std::string &ToLower(std::string &text); -std::string ToLower(const std::string &text); +std::string& ToLower(std::string& text); +std::string ToLower(const std::string& text); -std::wstring &ToLower(std::wstring &text); -std::wstring ToLower(const std::wstring &text); +std::wstring& ToLower(std::wstring& text); +std::wstring ToLower(const std::wstring& text); -bool CaseInsensitiveEqual(const std::wstring &lhs, const std::wstring &rhs); +bool CaseInsensitiveEqual(const std::wstring& lhs, const std::wstring& rhs); -VS_FIXEDFILEINFO GetFileVersion(const std::wstring &fileName); +VS_FIXEDFILEINFO GetFileVersion(const std::wstring& fileName); } // namespace MOShared -- cgit v1.3.1