Browse Source

Using explicit conversion operator instead of Set::toUnderlyingType().

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
a7b9407674
  1. 2
      src/Set.h

2
src/Set.h

@ -93,7 +93,7 @@ template<class T, class U> class Set {
} }
/** @brief Value in underlying type */ /** @brief Value in underlying type */
inline constexpr UnderlyingType toUnderlyingType() const { inline constexpr explicit operator UnderlyingType() const {
return value; return value;
} }

Loading…
Cancel
Save