diff Core/Toolbox.cpp @ 707:203157cb4fde

unit tests of httpclient
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 13 Feb 2014 14:37:35 +0100
parents 01d8611c4a60
children 8cfc6119a5bd ecedd89055db ac8f68cbdbb6
line wrap: on
line diff
--- a/Core/Toolbox.cpp	Thu Feb 13 12:46:39 2014 +0100
+++ b/Core/Toolbox.cpp	Thu Feb 13 14:37:35 2014 +0100
@@ -157,17 +157,6 @@
   }
 #endif
 
-  void Toolbox::Sleep(uint32_t seconds)
-  {
-#if defined(_WIN32)
-    ::Sleep(static_cast<DWORD>(seconds) * static_cast<DWORD>(1000));
-#elif defined(__linux)
-    usleep(static_cast<uint64_t>(seconds) * static_cast<uint64_t>(1000000));
-#else
-#error Support your platform here
-#endif
-  }
-
   void Toolbox::USleep(uint64_t microSeconds)
   {
 #if defined(_WIN32)