summaryrefslogtreecommitdiff
path: root/ACE/ace/Countdown_Time.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Countdown_Time.h')
-rw-r--r--ACE/ace/Countdown_Time.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/Countdown_Time.h b/ACE/ace/Countdown_Time.h
index cf881566299..b4630e9dc22 100644
--- a/ACE/ace/Countdown_Time.h
+++ b/ACE/ace/Countdown_Time.h
@@ -39,13 +39,10 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Export ACE_Countdown_Time : private ACE_Copy_Disabled
{
public:
- /// Cache the @a max_wait_time and call @c start().
- ACE_Countdown_Time (ACE_Time_Value *max_wait_time);
-
/// Cache the @a max_wait_time and call @c start(), use
/// application supplied gettimeofday function.
- ACE_Countdown_Time (ACE_Time_Value *max_wait_time,
- ACE_Time_Value (*gettimeofday)(void));
+ explicit ACE_Countdown_Time (ACE_Time_Value *max_wait_time,
+ ACE_Time_Value (*gettimeofday)(void) = 0);
/// Destructor, makes sure the max_wait_time that got passed as pointer
/// to the constructor is updated with the time elapsed.