Skip to content

Commit 3948630

Browse files
committed
Merge pull request #130 from dariomt/patch-1
removed stream operator for iterator, resolution for #125
2 parents 8f379ef + 652e1ca commit 3948630

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/json.hpp

-6
Original file line numberDiff line numberDiff line change
@@ -5729,12 +5729,6 @@ class basic_json
57295729
return anchor != o.anchor;
57305730
}
57315731

5732-
/// stream operator
5733-
friend std::ostream& operator<<(std::ostream& o, const iterator_wrapper_internal& w)
5734-
{
5735-
return o << w.value();
5736-
}
5737-
57385732
/// return key of the iterator
57395733
typename basic_json::string_t key() const
57405734
{

src/json.hpp.re2c

-6
Original file line numberDiff line numberDiff line change
@@ -5729,12 +5729,6 @@ class basic_json
57295729
return anchor != o.anchor;
57305730
}
57315731

5732-
/// stream operator
5733-
friend std::ostream& operator<<(std::ostream& o, const iterator_wrapper_internal& w)
5734-
{
5735-
return o << w.value();
5736-
}
5737-
57385732
/// return key of the iterator
57395733
typename basic_json::string_t key() const
57405734
{

0 commit comments

Comments
 (0)