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
             {