removed stream operator for iterator, resolution for #125

It doesn't really make sense to stream an iterator.
Besides, this was causing trouble in MSVC in Debug mode (see #125)
This commit is contained in:
dariomt 2015-10-07 17:50:53 +02:00
parent 57de1d602e
commit 55cbd903e8

View file

@ -5729,12 +5729,6 @@ class basic_json
return anchor != o.anchor; return anchor != o.anchor;
} }
/// stream operator
friend std::ostream& operator<<(std::ostream& o, const iterator_wrapper_internal& w)
{
return o << w.value();
}
/// return key of the iterator /// return key of the iterator
typename basic_json::string_t key() const typename basic_json::string_t key() const
{ {