diff --git a/src/json.hpp b/src/json.hpp index b628519a..6e8f145a 100644 --- a/src/json.hpp +++ b/src/json.hpp @@ -4169,8 +4169,6 @@ class basic_json class primitive_iterator_t { public: - primitive_iterator_t() = default; - /// set iterator to a defined beginning void set_begin() { @@ -4202,7 +4200,7 @@ class basic_json } /// return value to compare - operator const difference_type& () const + operator const difference_type () const { return m_it; } diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c index 9dadfe43..9081dab8 100644 --- a/src/json.hpp.re2c +++ b/src/json.hpp.re2c @@ -4169,8 +4169,6 @@ class basic_json class primitive_iterator_t { public: - primitive_iterator_t() = default; - /// set iterator to a defined beginning void set_begin() {