diff options
author | ancarola <raffaele.ancarola@epfl.ch> | 2019-07-10 10:24:37 +0200 |
---|---|---|
committer | ancarola <raffaele.ancarola@epfl.ch> | 2019-07-10 10:24:37 +0200 |
commit | eb5cdb04efc9984d0937b65620606f8043dd1831 (patch) | |
tree | 46b750f4f2228e532e2041d873b37caf2940d15c /include/mm/mmiterator.hpp | |
parent | Small correction on basic multiplication (diff) | |
download | libmm-eb5cdb04efc9984d0937b65620606f8043dd1831.tar.gz libmm-eb5cdb04efc9984d0937b65620606f8043dd1831.zip |
Implicit convertion to basic_vec to vec2 or vec3
Diffstat (limited to 'include/mm/mmiterator.hpp')
-rw-r--r-- | include/mm/mmiterator.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
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++() { |