Skip to content

Commit

Permalink
fixup! Add unit test for nlohmann#3388
Browse files Browse the repository at this point in the history
  • Loading branch information
falbrechtskirchinger committed Apr 5, 2022
1 parent 3bf307a commit 89fb4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/src/unit-alt-string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class alt_string
public:
using value_type = std::string::value_type;

static const std::size_t npos = std::string::npos;
static constexpr std::size_t npos = std::string::npos;

alt_string(const char* str): str_impl(str) {}
alt_string(const char* str, std::size_t count): str_impl(str, count) {}
Expand Down

0 comments on commit 89fb4de

Please sign in to comment.