summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_time.h')
-rw-r--r--ACE/ace/OS_NS_time.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/OS_NS_time.h b/ACE/ace/OS_NS_time.h
index 4e204c63b7b..6b115e6bc61 100644
--- a/ACE/ace/OS_NS_time.h
+++ b/ACE/ace/OS_NS_time.h
@@ -35,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
/**