summaryrefslogtreecommitdiff
path: root/tests/Collection_Test.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-05-17 16:33:39 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-05-17 16:33:39 +0000
commitb7ea886326e3fa9e67527754937e6c0c12187d11 (patch)
treebfbbf43cce8b65ee72e87ed64b16c100774f69cb /tests/Collection_Test.cpp
parentd2b0a58b9bb76ad573decb171d0afe915bc4a325 (diff)
downloadATCD-b7ea886326e3fa9e67527754937e6c0c12187d11.tar.gz
ChangeLogTag:Tue May 17 09:32:01 2005 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'tests/Collection_Test.cpp')
-rw-r--r--tests/Collection_Test.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/Collection_Test.cpp b/tests/Collection_Test.cpp
index e216ab1d3c0..0d723c3c47c 100644
--- a/tests/Collection_Test.cpp
+++ b/tests/Collection_Test.cpp
@@ -66,7 +66,10 @@ void iterate_const(const UNBOUNDED_SET& set)
}
}
-int dummyfunc() { return 0; }
+struct DummyFunctor
+{
+ int operator() (void) { return 0; }
+};
int
run_main (int, ACE_TCHAR *[])
@@ -74,6 +77,8 @@ run_main (int, ACE_TCHAR *[])
ACE_START_TEST (ACE_TEXT ("Collection_Test"));
deletion_func NO_DFUNC = (deletion_func)0;
+ DummyFunctor dummyfunc;
+
{
UNBOUNDED_SET unbounded_set;