Commit 9de14a48 authored by Trevor Welsby's avatar Trevor Welsby

Fixed issue #167 - removed operator ValueType() condition for VS2015

parent f8544105
This diff is collapsed.
...@@ -2675,7 +2675,9 @@ class basic_json ...@@ -2675,7 +2675,9 @@ class basic_json
std::enable_if< std::enable_if<
not std::is_pointer<ValueType>::value not std::is_pointer<ValueType>::value
and not std::is_same<ValueType, typename string_t::value_type>::value and not std::is_same<ValueType, typename string_t::value_type>::value
#ifndef _MSC_VER // Fix for issue #167 operator<< abiguity under VS2015
and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value
#endif
, int>::type = 0> , int>::type = 0>
operator ValueType() const operator ValueType() const
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment