diff options
Diffstat (limited to 'ACE/ace/OS_NS_time.h')
-rw-r--r-- | ACE/ace/OS_NS_time.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ACE/ace/OS_NS_time.h b/ACE/ace/OS_NS_time.h index a6c1f40dc21..6b115e6bc61 100644 --- a/ACE/ace/OS_NS_time.h +++ b/ACE/ace/OS_NS_time.h @@ -7,8 +7,6 @@ * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu> * @author Jesper S. M|ller<stophph@diku.dk> * @author and a cast of thousands... - * - * Originally in OS.h. */ //============================================================================= @@ -37,9 +35,9 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL // Type-safe, and unsigned. -static const ACE_UINT32 ACE_U_ONE_SECOND_IN_MSECS = 1000U; -static const ACE_UINT32 ACE_U_ONE_SECOND_IN_USECS = 1000000U; -static const ACE_UINT32 ACE_U_ONE_SECOND_IN_NSECS = 1000000000U; +static constexpr ACE_UINT32 ACE_U_ONE_SECOND_IN_MSECS = 1000U; +static constexpr ACE_UINT32 ACE_U_ONE_SECOND_IN_USECS = 1000000U; +static constexpr ACE_UINT32 ACE_U_ONE_SECOND_IN_NSECS = 1000000000U; /// Helper for the ACE_OS::timezone() function /** |