🐛 fix bug in move constructor

This commit is contained in:
Niels Lohmann
2021-01-03 20:06:32 +01:00
parent ec0b1798bc
commit 294fa343d5
3 changed files with 57 additions and 5 deletions

View File

@@ -1280,7 +1280,7 @@ TEST_CASE("JSON patch")
std::ifstream f(filename);
json suite = json::parse(f);
for (const auto test : suite)
for (const auto& test : suite)
{
INFO_WITH_TEMP(test.value("comment", ""));