From a7b9407674db0aa31ab3d926ca0f2c50a29e3c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 6 Jul 2012 02:22:02 +0200 Subject: [PATCH] Using explicit conversion operator instead of Set::toUnderlyingType(). --- src/Set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Set.h b/src/Set.h index febb05edc..2e077ccb1 100644 --- a/src/Set.h +++ b/src/Set.h @@ -93,7 +93,7 @@ template class Set { } /** @brief Value in underlying type */ - inline constexpr UnderlyingType toUnderlyingType() const { + inline constexpr explicit operator UnderlyingType() const { return value; }