Skip to content

Commit

Permalink
Merge pull request #130 from dariomt/patch-1
Browse files Browse the repository at this point in the history
removed stream operator for iterator, resolution for #125
  • Loading branch information
nlohmann committed Oct 23, 2015
2 parents 8f379ef + 652e1ca commit 3948630
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
6 changes: 0 additions & 6 deletions src/json.hpp.re2c
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 3948630

Please sign in to comment.