🚨 fixed another linter warning

This commit is contained in:
Niels Lohmann 2018-10-29 18:51:30 +01:00
parent 86b5ce953a
commit 39419cd5c4
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -1378,7 +1378,7 @@ NLOHMANN_JSON_SERIALIZE_ENUM(cards,
{cards::pik, "puk"}, // second entry for cards::puk; will not be used {cards::pik, "puk"}, // second entry for cards::puk; will not be used
{cards::herz, "herz"}, {cards::herz, "herz"},
{cards::karo, "karo"} {cards::karo, "karo"}
}); })
enum TaskState enum TaskState
{ {
@ -1394,7 +1394,7 @@ NLOHMANN_JSON_SERIALIZE_ENUM(TaskState,
{TS_STOPPED, "stopped"}, {TS_STOPPED, "stopped"},
{TS_RUNNING, "running"}, {TS_RUNNING, "running"},
{TS_COMPLETED, "completed"}, {TS_COMPLETED, "completed"},
}); })
TEST_CASE("JSON to enum mapping") TEST_CASE("JSON to enum mapping")
{ {