cpp-common/bt2: systematize the `const` method situation
[babeltrace.git] / src / cpp-common / bt2 / common-iterator.hpp
index e878b1b9c58f607fd88ad4748b5c3847c261cb3c..51b8d8e2709d46976ca06f0b1a52a0b031d77267 100644 (file)
@@ -64,12 +64,12 @@ public:
         return !(*this == other);
     }
 
-    reference operator*() noexcept
+    reference operator*() const noexcept
     {
         return *_mCurrVal;
     }
 
-    pointer operator->() noexcept
+    pointer operator->() const noexcept
     {
         return &(*_mCurrVal);
     }
This page took 0.024636 seconds and 4 git commands to generate.