1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-29 23:01:16 +03:00

Fix Clang-Tidy warnings (#4047)

This commit is contained in:
Niels Lohmann
2023-06-08 18:46:48 +02:00
committed by GitHub
parent a0c1318830
commit ab06fc9951
12 changed files with 24 additions and 22 deletions

View File

@ -300,7 +300,7 @@ template <
/// insert value
template<class P>
std::pair<iterator, bool> insert( P&& value )
std::pair<iterator, bool> insert( P&& value ) // NOLINT(cppcoreguidelines-missing-std-forward)
{
m_compare.add_key(value.first);
return m_map.insert(value);