summaryrefslogtreecommitdiff
path: root/libs/thread/example/xtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/thread/example/xtime.cpp')
-rw-r--r--libs/thread/example/xtime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/thread/example/xtime.cpp b/libs/thread/example/xtime.cpp
index a9b1933908..0c4fb7150d 100644
--- a/libs/thread/example/xtime.cpp
+++ b/libs/thread/example/xtime.cpp
@@ -10,7 +10,7 @@
int main(int argc, char* argv[])
{
boost::xtime xt;
- boost::xtime_get(&xt, boost::TIME_UTC);
+ boost::xtime_get(&xt, boost::TIME_UTC_);
xt.sec += 1;
boost::thread::sleep(xt); // Sleep for 1 second
}