mirror of
https://github.com/nlohmann/json.git
synced 2024-11-24 06:29:03 +08:00
🚨 fix warning
This commit is contained in:
parent
91be9e0175
commit
8ef27594d1
@ -1164,7 +1164,7 @@ TEST_CASE("value conversion")
|
||||
|
||||
SECTION("non-const")
|
||||
{
|
||||
const json j_const = j;
|
||||
const json j_const = j; // NOLINT(performance-unnecessary-copy-initialization)
|
||||
const auto& b = j_const.get_binary();
|
||||
CHECK(*json(b).m_data.m_value.binary == *j.m_data.m_value.binary);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user