From a5d0d957a6013374ca8ebc0c686da0f013b28fae Mon Sep 17 00:00:00 2001 From: Daniel Frey Date: Fri, 16 Sep 2016 16:51:50 +0200 Subject: [PATCH] Add missing typename keyword --- contrib/nlohmann/to_value.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/nlohmann/to_value.hh b/contrib/nlohmann/to_value.hh index edb39fad..05b816ba 100644 --- a/contrib/nlohmann/to_value.hh +++ b/contrib/nlohmann/to_value.hh @@ -96,7 +96,7 @@ namespace tao void member() { - stack_.back().push_back( Value::object_t::value_type( std::move( keys_.back() ), std::move( value ) ) ); + stack_.back().push_back( typename Value::object_t::value_type( std::move( keys_.back() ), std::move( value ) ) ); keys_.pop_back(); }