Skip to content
Snippets Groups Projects
Commit 65b3e900 authored by Helen Schottenhamml's avatar Helen Schottenhamml
Browse files

Fix `operator not called` warning.

parent 944cd5e7
No related branches found
No related tags found
No related merge requests found
...@@ -94,6 +94,7 @@ namespace field { ...@@ -94,6 +94,7 @@ namespace field {
inline bool operator==( const FieldIterator& it ) const; inline bool operator==( const FieldIterator& it ) const;
inline bool operator!=( const FieldIterator& it ) const; inline bool operator!=( const FieldIterator& it ) const;
template<typename V = T, typename X = std::enable_if_t<!std::is_const_v<V>>>
operator const FieldIterator<const T, fieldFSize> & () const { operator const FieldIterator<const T, fieldFSize> & () const {
const FieldIterator<const T, fieldFSize> * ptr; const FieldIterator<const T, fieldFSize> * ptr;
ptr = reinterpret_cast< const FieldIterator<const T, fieldFSize>* > ( this ); ptr = reinterpret_cast< const FieldIterator<const T, fieldFSize>* > ( this );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment