diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-02 14:55:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-02 14:55:45 +0000 |
commit | 688039e32b63d5d1d9510df55e860f7453944345 (patch) | |
tree | 13bbca1e0b865f69b183a558493eeb68d8b4bab8 /lotuswordpro/source/filter/clone.hxx | |
parent | be more explicit as to which 'detail' is desired (diff) | |
download | core-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.hxx | 5 |
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> |