summaryrefslogtreecommitdiff
path: root/ace/System_Time.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/System_Time.h')
-rw-r--r--ace/System_Time.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/ace/System_Time.h b/ace/System_Time.h
index 1688ae45755..6128f61ec3d 100644
--- a/ace/System_Time.h
+++ b/ace/System_Time.h
@@ -1,5 +1,4 @@
-/* -*- C++ -*- */
-
+// -*- C++ -*-
//=============================================================================
/**
@@ -22,10 +21,12 @@
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ace/Memory_Pool.h"
+#include "ace/MMAP_Memory_Pool.h"
#include "ace/Malloc_T.h"
#include "ace/Null_Mutex.h"
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
/**
* @class ACE_System_Time
*
@@ -70,7 +71,7 @@ public:
int sync_local_system_time (ACE_System_Time::Sync_Mode mode);
private:
- typedef ACE_Malloc <ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC;
+ typedef ACE_Malloc<ACE_MMAP_MEMORY_POOL, ACE_Null_Mutex> MALLOC;
typedef ACE_Allocator_Adapter<MALLOC> ALLOCATOR;
/// Our allocator (used for obtaining system time from shared memory).
@@ -83,5 +84,7 @@ private:
long *delta_time_;
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#include /**/ "ace/post.h"
#endif /* ACE_SYSTEM_TIME_H */