-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
release item: 🔨 further changesolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Milestone
Description
Hi,
wanted to report that I compiled a project that is based on nlohmann::json v3.10.4 and it used -Wshadow with the GNU g++ v7.5.
During compilation I see
json/single_include/nlohmann/json.hpp:18813:5: warning: declaration of 'count' shadows a member of 'nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>' [-Wshadow]
{
^
json/single_include/nlohmann/json.hpp:22078:15: note: shadowed declaration is here
size_type count(KeyT&& key) const
^~~~~
Maybe worth looking into...
Thanks
Metadata
Metadata
Assignees
Labels
release item: 🔨 further changesolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation