summaryrefslogtreecommitdiff
path: root/ACE/tests/Integer_Truncate_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Integer_Truncate_Test.cpp')
-rw-r--r--ACE/tests/Integer_Truncate_Test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/tests/Integer_Truncate_Test.cpp b/ACE/tests/Integer_Truncate_Test.cpp
index 0ba6b9fad83..ff15888cc73 100644
--- a/ACE/tests/Integer_Truncate_Test.cpp
+++ b/ACE/tests/Integer_Truncate_Test.cpp
@@ -329,8 +329,11 @@ sizeof_from_gt_sizeof_to ()
* Test method invocation functor.
*/
template <typename T>
-struct Caller : public std::unary_function<T, void>
+struct Caller
{
+ typedef T argument_type;
+ typedef void result_type;
+
/// Constructor
Caller () : success (true) {}