Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Neargye committed Nov 12, 2023
1 parent dd03450 commit a26ad02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_aliases.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct MyString {
MyString(const char* s, std::size_t l) : str{s, l} {} // required
bool empty() const { return str.empty(); } // required
MyString& append(std::size_t count, char c) { str.append(count, c); return *this; } // required
MyString& append(const char* s) { str.append(s); return *this; } // required
MyString& append(const char* s, std::size_t count) { str.append(s, count); return *this; } // required
MyString& append(const MyString& s) { str.append(s.str); return *this; } // required

std::size_t size() const { return str.size(); }
Expand Down

0 comments on commit a26ad02

Please sign in to comment.