diff options
Diffstat (limited to 'Swiften/Base/sleep.cpp')
-rw-r--r-- | Swiften/Base/sleep.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Swiften/Base/sleep.cpp b/Swiften/Base/sleep.cpp index 0c450c3..5a0d729 100644 --- a/Swiften/Base/sleep.cpp +++ b/Swiften/Base/sleep.cpp @@ -12,14 +12,14 @@ namespace Swift { void sleep(unsigned int msecs) { - boost::xtime xt; + boost::xtime xt; #if BOOST_VERSION >= 105000 - boost::xtime_get(&xt, boost::TIME_UTC_); + boost::xtime_get(&xt, boost::TIME_UTC_); #else - boost::xtime_get(&xt, boost::TIME_UTC); + boost::xtime_get(&xt, boost::TIME_UTC); #endif - xt.nsec += msecs*1000000; - boost::thread::sleep(xt); + xt.nsec += msecs*1000000; + boost::thread::sleep(xt); } } |