From eb5cdb04efc9984d0937b65620606f8043dd1831 Mon Sep 17 00:00:00 2001 From: ancarola Date: Wed, 10 Jul 2019 10:24:37 +0200 Subject: Implicit convertion to basic_vec to vec2 or vec3 --- include/mm/mmiterator.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/mm/mmiterator.hpp') diff --git a/include/mm/mmiterator.hpp b/include/mm/mmiterator.hpp index ed406fe..4efe474 100644 --- a/include/mm/mmiterator.hpp +++ b/include/mm/mmiterator.hpp @@ -28,13 +28,13 @@ public: vector_iterator(Grid& _M, std::size_t pos, std::size_t i = 0) : M(_M), position(pos), index(i) {} -#ifdef MM_IMPLICIT_CONVERSION_ITERATOR +//#ifdef MM_IMPLICIT_CONVERSION_ITERATOR operator T&() { - npdebug("Calling +") + //npdebug("Calling +") return *(*this); } -#endif +//#endif IterType operator++() { -- cgit v1.2.1