diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-02 15:01:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-02 15:01:19 +0000 |
commit | c331264a996c4e825e1ca2bb488fe13155e4c0ff (patch) | |
tree | 51e39d16e33f2b2f91e860207fcc60848b08bf22 /lotuswordpro/source/filter/clone.hxx | |
parent | use enum instead of static bool (diff) | |
download | core-c331264a996c4e825e1ca2bb488fe13155e4c0ff.tar.gz core-c331264a996c4e825e1ca2bb488fe13155e4c0ff.zip |
tweak this to build under windows
Diffstat (limited to 'lotuswordpro/source/filter/clone.hxx')
-rw-r--r-- | lotuswordpro/source/filter/clone.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/clone.hxx b/lotuswordpro/source/filter/clone.hxx index 401586626043..0a2b64dfb0b7 100644 --- a/lotuswordpro/source/filter/clone.hxx +++ b/lotuswordpro/source/filter/clone.hxx @@ -39,13 +39,13 @@ struct has_clone typedef struct { char a[2]; } no; template<typename U> - static yes check_sig(U*, test<U* (U::*)() const, &U::clone>* = 0); + static yes& check_sig(U*, test<U* (U::*)() const, &U::clone>* = 0); template<typename U> - static no check_sig(...); + static no& check_sig(...); enum { - value = sizeof(has_clone<T>::template check_sig<T>(0)) == sizeof(yes) + value = sizeof(check_sig<T>(0)) == sizeof(yes) }; }; |