diff options
author | Marcel Smit <msmit@remedy.nl> | 2015-02-23 14:09:17 +0100 |
---|---|---|
committer | Marcel Smit <msmit@remedy.nl> | 2015-02-23 14:09:17 +0100 |
commit | c293be722a38993d2f050c10522e3be8b82678d9 (patch) | |
tree | 48c47868557db25105679c739fc7bd2260ddc9de | |
parent | eb9f76436224250d20bf6b8088ef330cbcb593f3 (diff) | |
download | ATCD-c293be722a38993d2f050c10522e3be8b82678d9.tar.gz |
No need have a sleep with a chrono::duration as input.
* ACE/ace/OS_NS_unistd.h:
* ACE/ace/OS_NS_unistd.inl:
-rw-r--r-- | ACE/ace/OS_NS_unistd.h | 6 | ||||
-rw-r--r-- | ACE/ace/OS_NS_unistd.inl | 10 |
2 files changed, 0 insertions, 16 deletions
diff --git a/ACE/ace/OS_NS_unistd.h b/ACE/ace/OS_NS_unistd.h index 437b5572bca..20a81571e1f 100644 --- a/ACE/ace/OS_NS_unistd.h +++ b/ACE/ace/OS_NS_unistd.h @@ -295,12 +295,6 @@ namespace ACE_OS ACE_NAMESPACE_INLINE_FUNCTION int sleep (const ACE_Time_Value &tv); -#if defined (ACE_HAS_CPP11) - template< class Rep, class Period > - ACE_NAMESPACE_INLINE_FUNCTION - int sleep (const std::chrono::duration<Rep, Period>& duration); -#endif /* ACE_HAS_CPP11 */ - // used by ARGV::string_to_argv extern ACE_Export int string_to_argv (ACE_TCHAR *buf, diff --git a/ACE/ace/OS_NS_unistd.inl b/ACE/ace/OS_NS_unistd.inl index 1dffd25effc..6bcc6f72547 100644 --- a/ACE/ace/OS_NS_unistd.inl +++ b/ACE/ace/OS_NS_unistd.inl @@ -964,16 +964,6 @@ ACE_OS::sleep (const ACE_Time_Value &tv) #endif /* ACE_WIN32 */ } -#if defined (ACE_HAS_CPP11) -template< class Rep, class Period > -ACE_INLINE int -ACE_OS::sleep (const std::chrono::duration<Rep, Period>& duration) -{ - ACE_OS_TRACE ("ACE_OS::sleep"); - return ACE_OS::sleep (ACE_Time_Value (duration)); -} -#endif /* ACE_HAS_CPP11 */ - ACE_INLINE void ACE_OS::swab (const void *src, void *dest, |