1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00

fix build

This commit is contained in:
neargye 2022-08-13 18:12:55 +04:00
parent cd1ec187e6
commit 0fec11eda3

View file

@ -46,8 +46,8 @@ struct MyString {
MyString() : str{} {} // required MyString() : str{} {} // required
MyString(const char* s, std::size_t l) : str{s, l} {} // required MyString(const char* s, std::size_t l) : str{s, l} {} // required
bool empty() const { return str.empty(); } // required bool empty() const { return str.empty(); } // required
constexpr auto begin() const { return str.begin(); } // required auto begin() const { return str.begin(); } // required
constexpr auto end() const { return str.end(); } // required auto end() const { return str.end(); } // required
void append(std::size_t count, char c) { str.append(count, c); } // required void append(std::size_t count, char c) { str.append(count, c); } // required
void append(const char* s, std::size_t size) { str.append(s, size); } // required void append(const char* s, std::size_t size) { str.append(s, size); } // required