Browse Source

Set::operator&= cannot be const.

vectorfields
Vladimír Vondruš 14 years ago
parent
commit
2a474e9005
  1. 2
      src/Set.h

2
src/Set.h

@ -87,7 +87,7 @@ template<class T, class U> class Set {
}
/** @brief Intersect two sets and assign */
inline Set<T, U>& operator&=(Set<T, U> other) const {
inline Set<T, U>& operator&=(Set<T, U> other) {
value &= other.value;
return *this;
}

Loading…
Cancel
Save