diff --git a/source/Lib/CommonLib/Unit.h b/source/Lib/CommonLib/Unit.h
index 290fa05337c521a13e41902ccc6769325e922ca4..8c0524a6065a621eeda552c0e81ce2bafd1faf19 100644
--- a/source/Lib/CommonLib/Unit.h
+++ b/source/Lib/CommonLib/Unit.h
@@ -817,7 +817,7 @@ private:
 #include <iterator>
 
 template<typename T>
-class UnitIterator : public std::iterator<std::forward_iterator_tag, T>
+class UnitIterator
 {
 private:
   T* m_punit;