From 1c6b332dcdaff5d5d7ccdf8e11f847f91217523d Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Sat, 26 May 2018 14:10:13 +0200 Subject: [PATCH] :ok_hand: mitigating cppcheck bug #1101 --- include/nlohmann/json_fwd.hpp | 2 +- single_include/nlohmann/json.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nlohmann/json_fwd.hpp b/include/nlohmann/json_fwd.hpp index 750adb645..7f003a88f 100644 --- a/include/nlohmann/json_fwd.hpp +++ b/include/nlohmann/json_fwd.hpp @@ -21,7 +21,7 @@ This serializer ignores the template arguments and uses ADL ([argument-dependent lookup](http://en.cppreference.com/w/cpp/language/adl)) for serialization. */ -template +template struct adl_serializer; template class ObjectType = diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp index 8c9942bb5..9e532961c 100644 --- a/single_include/nlohmann/json.hpp +++ b/single_include/nlohmann/json.hpp @@ -70,7 +70,7 @@ This serializer ignores the template arguments and uses ADL ([argument-dependent lookup](http://en.cppreference.com/w/cpp/language/adl)) for serialization. */ -template +template struct adl_serializer; template class ObjectType =