Add missing include

This commit is contained in:
Phillip Stephens 2019-08-31 01:58:06 -07:00
parent 33bcde5a73
commit 222fb5c179
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <string>
#include <type_traits>
@ -211,7 +212,7 @@ inline std::wstring operator+(const std::wstring_view lhs, const SystemStringCon
typedef struct _stat Sstat;
#else
typedef char SystemChar;
inline size_t StrLen(const SystemChar* str) { return strlen(str); }
inline size_t StrLen(const SystemChar* str) { return std::strlen(str); }
typedef std::string SystemString;
typedef std::string_view SystemStringView;
inline void ToLower(SystemString& str) { std::transform(str.begin(), str.end(), str.begin(), tolower); }