summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-02 14:55:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-02 14:55:45 +0000
commit688039e32b63d5d1d9510df55e860f7453944345 (patch)
tree13bbca1e0b865f69b183a558493eeb68d8b4bab8 /lotuswordpro
parent3dd2d61c1bfc16f5e06667fde961068af2d23ca1 (diff)
use enum instead of static bool
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/clone.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/clone.hxx b/lotuswordpro/source/filter/clone.hxx
index 35a4cd4a67eb..401586626043 100644
--- a/lotuswordpro/source/filter/clone.hxx
+++ b/lotuswordpro/source/filter/clone.hxx
@@ -43,7 +43,10 @@ struct has_clone
template<typename U>
static no check_sig(...);
- static bool const value = sizeof(has_clone<T>::template check_sig<T>(0)) == sizeof(yes);
+ enum
+ {
+ value = sizeof(has_clone<T>::template check_sig<T>(0)) == sizeof(yes)
+ };
};
template<typename T, bool HasClone>