summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/clone.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-02 15:01:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-02 15:01:19 +0000
commitc331264a996c4e825e1ca2bb488fe13155e4c0ff (patch)
tree51e39d16e33f2b2f91e860207fcc60848b08bf22 /lotuswordpro/source/filter/clone.hxx
parentuse enum instead of static bool (diff)
downloadcore-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.hxx6
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)
};
};