[Orxonox-commit 778] r3305 - trunk/src/util
rgrieder at orxonox.net
rgrieder at orxonox.net
Sat Jul 18 18:24:38 CEST 2009
Author: rgrieder
Date: 2009-07-18 18:24:38 +0200 (Sat, 18 Jul 2009)
New Revision: 3305
Modified:
trunk/src/util/Sleep.cc
Log:
Removed annoying warning on Windows.
Modified: trunk/src/util/Sleep.cc
===================================================================
--- trunk/src/util/Sleep.cc 2009-07-18 16:23:31 UTC (rev 3304)
+++ trunk/src/util/Sleep.cc 2009-07-18 16:24:38 UTC (rev 3305)
@@ -47,8 +47,8 @@
{
void usleep(unsigned long microseconds)
{
- if (microseconds < 1000)
- COUT(2) << "Warning: Windows cannot sleep less than 1ms, ignoring" << std::endl;
+ //if (microseconds < 1000)
+ // COUT(2) << "Warning: Windows cannot sleep less than 1ms, ignoring" << std::endl;
Sleep(microseconds / 1000);
}
More information about the Orxonox-commit
mailing list