summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-07-18 09:01:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-07-18 09:01:39 +0100
commit54d8d7718b8ed3b3ddd47f3c2b993be689aeaab3 (patch)
tree2845a16533977a33ad3d5b5cd0b710852289360c /comphelper
parent25ab24b4c4fe748a05a59fb4eba0b2f96e71da38 (diff)
fix build
Change-Id: I90d6826e4544fd39120982f80d41e237a5edbab6
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/threadpool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx
index 95f743b6cd52..6846f4b2f5f3 100644
--- a/comphelper/source/misc/threadpool.cxx
+++ b/comphelper/source/misc/threadpool.cxx
@@ -338,7 +338,7 @@ void ThreadTaskTag::waitUntilDone()
#ifdef DBG_UTIL
// 2 minute timeout in debug mode so our tests fail sooner rather than later
osl::Condition::Result rv = maTasksComplete.wait(TimeValue { 2*60, 0 });
- assert(rv != osl_cond_result_timeout);
+ assert(rv != osl::Condition::result_timeout);
#else
// 10 minute timeout in production so the app eventually throws some kind of error
if (maTasksComplete.wait(TimeValue { 10*60, 0 }) == osl::Condition::Result::result_timeout)