From c3fa56b8daa29ba8a434a02b6af1e0df42e847e2 Mon Sep 17 00:00:00 2001 From: "Vicente J. Botet Escriba" Date: Sun, 18 Sep 2011 14:13:30 +0000 Subject: [PATCH] Adapt test to definition of BOOST_CHRONO_HAS_THREAD_CLOCK [SVN r74452] --- example/test_thread_clock.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/test_thread_clock.cpp b/example/test_thread_clock.cpp index 8eb78fc..2bc7610 100644 --- a/example/test_thread_clock.cpp +++ b/example/test_thread_clock.cpp @@ -11,11 +11,12 @@ #include -using namespace boost::chrono; void test_thread_clock() { #if defined(BOOST_CHRONO_HAS_THREAD_CLOCK) + using namespace boost::chrono; + std::cout << "thread_clock test" << std::endl; thread_clock::duration delay = milliseconds(5); thread_clock::time_point start = thread_clock::now();