1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-09 11:01:47 +03:00

made array static constexpr (#79)

This commit is contained in:
Niels
2015-06-02 21:27:49 +02:00
parent afc7f2388e
commit f5470d47ff
2 changed files with 2 additions and 2 deletions

View File

@ -300,7 +300,7 @@ class basic_json
*/
friend bool operator<(const value_t lhs, const value_t rhs)
{
std::array<uint8_t, 7> order = {{
static constexpr std::array<uint8_t, 7> order = {{
0, // null
3, // object
4, // array