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 } /*!