Fix clang-tidy complaints.
This commit is contained in:
parent
322bc99d8e
commit
8e79917d32
@ -140,7 +140,7 @@ struct NotSerializableData
|
|||||||
|
|
||||||
struct NonDefaultConstructible
|
struct NonDefaultConstructible
|
||||||
{
|
{
|
||||||
explicit NonDefaultConstructible (int x) : x(x) { }
|
explicit NonDefaultConstructible (int a) : x(a) { }
|
||||||
int x;
|
int x;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ struct adl_serializer<NonDefaultConstructible>
|
|||||||
return NonDefaultConstructible(j.get<int>());
|
return NonDefaultConstructible(j.get<int>());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
} // namespace nlohmann
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("regression tests 2")
|
TEST_CASE("regression tests 2")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user