From 55cbd903e8960ef8b4ddd41c37aa2eb551aed9de Mon Sep 17 00:00:00 2001 From: dariomt Date: Wed, 7 Oct 2015 17:50:53 +0200 Subject: [PATCH] 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) --- src/json.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/json.hpp b/src/json.hpp index 7e174d72..8e747659 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -5729,12 +5729,6 @@ class basic_json 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 typename basic_json::string_t key() const {