mirror of https://github.com/AxioDL/kabufuda.git
Add missing include
This commit is contained in:
parent
33bcde5a73
commit
222fb5c179
|
@ -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…
Reference in New Issue