blob: 3c0e07b9dc4acb3253f7a26bfaa097fb7e07b8c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
fix compile when using clang as $CC:
Based on patch from https://bugs.launchpad.net/hugin/+bug/1213585 (rebased)
--- a/include/zthread/Guard.h
+++ b/include/zthread/Guard.h
@@ -108,7 +108,7 @@
}
template <class LockType>
- static void createScope(LockHolder<LockType>& l, unsigned long ms) {
+ static bool createScope(LockHolder<LockType>& l, unsigned long ms) {
if(Scope1::createScope(l, ms))
if(!Scope2::createScope(l, ms)) {
|