mirror of
https://github.com/nlohmann/json.git
synced 2025-07-31 10:24:23 +03:00
🚨 fixed another linter warning
This commit is contained in:
@ -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")
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user