summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-18 09:53:44 +0200
committerNoel Grandin <noel@peralex.com>2016-07-18 09:53:44 +0200
commit147d18ad4ab720b749469222fc620bffed47c106 (patch)
tree542f5a7948fb7f0c198766e0a113a0934914f509 /comphelper
parent09b0ade4f84d7f20a31217c6569c23c13e09c9be (diff)
-Werror=enum-compare
Change-Id: I6bb2c9bcefd9dbb0efd262b1462625a157d11e6f
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 048b1a1e687a..95f743b6cd52 100644
--- a/comphelper/source/misc/threadpool.cxx
+++ b/comphelper/source/misc/threadpool.cxx
@@ -341,7 +341,7 @@ void ThreadTaskTag::waitUntilDone()
assert(rv != osl_cond_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_cond_result_timeout)
+ if (maTasksComplete.wait(TimeValue { 10*60, 0 }) == osl::Condition::Result::result_timeout)
throw std::runtime_error("timeout waiting for threadpool tasks");
#endif
}