diff options
Diffstat (limited to 'ACE/tests/randomize.h')
-rw-r--r-- | ACE/tests/randomize.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ACE/tests/randomize.h b/ACE/tests/randomize.h index bdebd4db5e9..5389814548f 100644 --- a/ACE/tests/randomize.h +++ b/ACE/tests/randomize.h @@ -48,9 +48,10 @@ namespace */ template<typename T> class randomize_element - : public std::unary_function<T &, void> { public: + typedef T &argument_type; + typedef void result_type; randomize_element (T * array, size_t size, unsigned int seed) : array_ (array) |