summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/clone.hxx
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/source/filter/clone.hxx
parentbe more explicit as to which 'detail' is desired (diff)
downloadcore-688039e32b63d5d1d9510df55e860f7453944345.tar.gz
core-688039e32b63d5d1d9510df55e860f7453944345.zip
use enum instead of static bool
Diffstat (limited to 'lotuswordpro/source/filter/clone.hxx')
-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>