From 3b31e3dc78607229c6267d1db668b30cb7873ffd Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Thu, 1 Jun 2006 12:40:24 +0000 Subject: [PATCH] Functor does not work with the new Functor::operator== ;add operator== to Functor, initiated by Eric Beyeler git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@664 7ec92016-0320-0410-acc4-a06ded1c099a --- test/Function/FunctionTest.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/Function/FunctionTest.cpp b/test/Function/FunctionTest.cpp index b69d92c..3f414d8 100755 --- a/test/Function/FunctionTest.cpp +++ b/test/Function/FunctionTest.cpp @@ -7,6 +7,8 @@ // For more information, see http://www.boost.org + + #include #include #include @@ -50,6 +52,9 @@ report_error( const char* msg, const char* file, int line, bool is_msg = false ) #endif +#ifndef LOKI_FUNCTORS_ARE_COMPARABLE + + using namespace std; int global_int; @@ -799,3 +804,11 @@ int main() return 0; } + + +#else // #ifndef LOKI_FUNCTORS_ARE_COMPARABLE +int main() +{ + return 0; +} +#endif