mirror of
https://github.com/encounter/aurora.git
synced 2025-07-04 20:26:07 +00:00
Add missing include
This commit is contained in:
parent
7a813a7365
commit
8ff4d91f3f
@ -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); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user