summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
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)