Avoid GCC 4.4 compiler warning

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@409 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Mike Kremer
2011-09-08 08:18:36 +00:00
parent 4b4e6265d1
commit 72508d770b

View File

@@ -75,15 +75,15 @@ public:
void invalidate() { idx_ = -1; } void invalidate() { idx_ = -1; }
bool operator==(const BaseHandle& _rhs) const { bool operator==(const BaseHandle& _rhs) const {
return idx_ == _rhs.idx_; return (this->idx_ == _rhs.idx_);
} }
bool operator!=(const BaseHandle& _rhs) const { bool operator!=(const BaseHandle& _rhs) const {
return idx_ != _rhs.idx_; return (this->idx_ != _rhs.idx_);
} }
bool operator<(const BaseHandle& _rhs) const { bool operator<(const BaseHandle& _rhs) const {
return idx_ < _rhs.idx_; return (this->idx_ < _rhs.idx_);
} }