From 5f566f090b3f11f19e2e28c331de87f5836fe38d Mon Sep 17 00:00:00 2001 From: Alexander Karzhenkov Date: Fri, 21 Aug 2020 23:02:16 +0500 Subject: [PATCH] Synchronize single-header and basic variants of json.hpp --- include/nlohmann/json.hpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp index e9bb1afd4..a82c1bed5 100644 --- a/include/nlohmann/json.hpp +++ b/include/nlohmann/json.hpp @@ -5432,12 +5432,8 @@ class basic_json } // add element to array (perfect forwarding) -#ifdef JSON_HAS_CPP_17 - return m_value.array->emplace_back(std::forward(args)...); -#else m_value.array->emplace_back(std::forward(args)...); return m_value.array->back(); -#endif } /*!