[Libreoffice-commits] core.git: comphelper/source
Noel Grandin
noel at peralex.com
Mon Jul 18 07:57:50 UTC 2016
comphelper/source/misc/threadpool.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 147d18ad4ab720b749469222fc620bffed47c106
Author: Noel Grandin <noel at peralex.com>
Date: Mon Jul 18 09:53:44 2016 +0200
-Werror=enum-compare
Change-Id: I6bb2c9bcefd9dbb0efd262b1462625a157d11e6f
diff --git a/comphelper/source/misc/threadpool.cxx b/comphelper/source/misc/threadpool.cxx
index 048b1a1..95f743b 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
}
More information about the Libreoffice-commits
mailing list