diff --git a/include/Mathema.h b/include/Mathema.h index 014e2fd..5830952 100644 --- a/include/Mathema.h +++ b/include/Mathema.h @@ -325,9 +325,9 @@ namespace RLLib ranges.clear(); } - Ranges(const Range& that) + Ranges(const Ranges& that) { - for (typename Vectors::iterator iter = that.begin(); iter != that.end(); ++iter) + for (typename Ranges::iterator iter = that.begin(); iter != that.end(); ++iter) ranges.push_back(*iter); } @@ -336,7 +336,7 @@ namespace RLLib if (this != that) { ranges.clear(); - for (typename Vectors::iterator iter = that.begin(); iter != that.end(); ++iter) + for (typename Ranges::iterator iter = that.begin(); iter != that.end(); ++iter) ranges.push_back(*iter); } return *this;