diff options
Diffstat (limited to 'ace/System_Time.cpp')
-rw-r--r-- | ace/System_Time.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ace/System_Time.cpp b/ace/System_Time.cpp index a650283856f..dcb1480aa51 100644 --- a/ace/System_Time.cpp +++ b/ace/System_Time.cpp @@ -1,3 +1,4 @@ +// System_Time.cpp // $Id$ #include "ace/System_Time.h" @@ -7,8 +8,6 @@ ACE_RCSID(ace, System_Time, "$Id$") -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - ACE_System_Time::ACE_System_Time (const ACE_TCHAR *poolname) : delta_time_ (0) { @@ -67,7 +66,7 @@ int ACE_System_Time::get_local_system_time (ACE_Time_Value &time_out) { ACE_TRACE ("ACE_System_Time::get_local_system_time"); - time_out.set (ACE_OS::time (0), 0); + time_out.sec (ACE_OS::time (0)); return 0; } @@ -142,5 +141,3 @@ template class ACE_Allocator_Adapter<ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Null_M #pragma instantiate ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> #pragma instantiate ACE_Allocator_Adapter<ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> > #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ - -ACE_END_VERSIONED_NAMESPACE_DECL |