summaryrefslogtreecommitdiff
path: root/ACE/ace/Countdown_Time.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-11-29 19:31:42 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-11-29 19:31:42 +0000
commit5db140920fc8f0c1a7b23c848ac847a5f81a3519 (patch)
treede27699e67e7e46e714c68be3e9e1c7569f9a840 /ACE/ace/Countdown_Time.h
parent49c98734fe736bc83d4be0681cc7231307891dba (diff)
downloadATCD-5db140920fc8f0c1a7b23c848ac847a5f81a3519.tar.gz
Tue Nov 29 19:28:56 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Countdown_Time.h: * ace/Countdown_Time.cpp: Use default value for constructor reducing the number of constructors
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.