🚨 fix warnings
This commit is contained in:
parent
f4dbcce2ba
commit
d0694895b5
@ -51,7 +51,7 @@ TEST_CASE("check_for_mem_leak_on_adl_to_json-1")
|
||||
const nlohmann::json j = Foo {1, 0};
|
||||
std::cout << j.dump() << "\n";
|
||||
}
|
||||
catch (...)
|
||||
catch (...) // NOLINT(bugprone-empty-catch)
|
||||
{
|
||||
// just ignore the exception in this POC
|
||||
}
|
||||
@ -64,7 +64,7 @@ TEST_CASE("check_for_mem_leak_on_adl_to_json-2")
|
||||
const nlohmann::json j = Foo {1, 1};
|
||||
std::cout << j.dump() << "\n";
|
||||
}
|
||||
catch (...)
|
||||
catch (...) // NOLINT(bugprone-empty-catch)
|
||||
{
|
||||
// just ignore the exception in this POC
|
||||
}
|
||||
@ -77,7 +77,7 @@ TEST_CASE("check_for_mem_leak_on_adl_to_json-2")
|
||||
const nlohmann::json j = Foo {1, 2};
|
||||
std::cout << j.dump() << "\n";
|
||||
}
|
||||
catch (...)
|
||||
catch (...) // NOLINT(bugprone-empty-catch)
|
||||
{
|
||||
// just ignore the exception in this POC
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user