summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-07-19 11:16:36 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-07-19 11:16:36 +0200
commit006c3267d1ec9cfec8d2fa22458c182433bc1489 (patch)
tree4354433d94ca0fc4f849e4e61ca0bc251f951b97
parenta3ecbed8af2478a7b32ef0c6bb7fb26c9701569a (diff)
downloadATCD-006c3267d1ec9cfec8d2fa22458c182433bc1489.tar.gz
More std usage
* ACE/ace/OS_NS_time.cpp: * ACE/ace/OS_NS_time.inl:
-rw-r--r--ACE/ace/OS_NS_time.cpp2
-rw-r--r--ACE/ace/OS_NS_time.inl8
2 files changed, 5 insertions, 5 deletions
diff --git a/ACE/ace/OS_NS_time.cpp b/ACE/ace/OS_NS_time.cpp
index 09a223b8574..81b634f9899 100644
--- a/ACE/ace/OS_NS_time.cpp
+++ b/ACE/ace/OS_NS_time.cpp
@@ -315,7 +315,7 @@ ACE_OS::mktime (struct tm *t)
ACE_OS_GUARD
# endif /* ACE_HAS_THREADS && ! ACE_HAS_MT_SAFE_MKTIME */
- return ACE_STD_NAMESPACE::mktime (t);
+ return std::mktime (t);
# endif /* ACE_HAS_WINCE */
}
diff --git a/ACE/ace/OS_NS_time.inl b/ACE/ace/OS_NS_time.inl
index c5f676ae800..89f79fb2f29 100644
--- a/ACE/ace/OS_NS_time.inl
+++ b/ACE/ace/OS_NS_time.inl
@@ -15,7 +15,7 @@ ACE_OS::asctime (const struct tm *t)
ACE_UNUSED_ARG (t);
ACE_NOTSUP_RETURN (0);
#else
- return ACE_STD_NAMESPACE::asctime (t);
+ return std::asctime (t);
#endif /* ACE_LACKS_ASCTIME */
}
@@ -48,7 +48,7 @@ ACE_OS::asctime_r (const struct tm *t, char *buf, int buflen)
ACE_NOTSUP_RETURN (0);
#else
char *result = 0;
- ACE_OSCALL (ACE_STD_NAMESPACE::asctime (t), char *, result);
+ ACE_OSCALL (std::asctime (t), char *, result);
ACE_OS::strsncpy (buf, result, buflen);
return buf;
#endif /* ACE_HAS_REENTRANT_FUNCTIONS */
@@ -421,7 +421,7 @@ ACE_OS::strftime (char *s, size_t maxsize, const char *format,
ACE_UNUSED_ARG (timeptr);
ACE_NOTSUP_RETURN (0);
#else
- return ACE_STD_NAMESPACE::strftime (s, maxsize, format, timeptr);
+ return std::strftime (s, maxsize, format, timeptr);
#endif /* ACE_LACKS_STRFTIME */
}
@@ -432,7 +432,7 @@ ACE_OS::strptime (const char *buf, const char *format, struct tm *tm)
#if defined (ACE_LACKS_STRPTIME)
return ACE_OS::strptime_emulation (buf, format, tm);
#else
- return ACE_STD_NAMESPACE::strptime (buf, format, tm);
+ return std::strptime (buf, format, tm);
#endif /* ACE_LACKS_STRPTIME */
}