mirror of
https://github.com/encounter/aurora.git
synced 2025-07-05 04:35:55 +00:00
Add missing include
This commit is contained in:
parent
7a813a7365
commit
8ff4d91f3f
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
#include <cstring>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
@ -211,7 +212,7 @@ inline std::wstring operator+(const std::wstring_view lhs, const SystemStringCon
|
|||||||
typedef struct _stat Sstat;
|
typedef struct _stat Sstat;
|
||||||
#else
|
#else
|
||||||
typedef char SystemChar;
|
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 SystemString;
|
||||||
typedef std::string_view SystemStringView;
|
typedef std::string_view SystemStringView;
|
||||||
inline void ToLower(SystemString& str) { std::transform(str.begin(), str.end(), str.begin(), tolower); }
|
inline void ToLower(SystemString& str) { std::transform(str.begin(), str.end(), str.begin(), tolower); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user