File: 050_fix-ftbfs-with-g%2B%2B-4.7.patch

package info (click to toggle)
zthreads 2.3.2-11
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,532 kB
  • sloc: sh: 8,432; cpp: 6,032; ansic: 126; makefile: 109; javascript: 6
file content (26 lines) | stat: -rw-r--r-- 831 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: make sure to use qualified lookups
Author: Cyril Brulebois <kibi@debian.org>
Bug-Debian: https://bugs.debian.org/667430
Last-Update: 2012-04-04
Index: zthreads/include/zthread/Guard.h
===================================================================
--- zthreads.orig/include/zthread/Guard.h
+++ zthreads/include/zthread/Guard.h
@@ -428,7 +428,7 @@ public:
   template <class U, class V>
   Guard(Guard<U, V>& g) : LockHolder<LockType>(g) {
 
-    LockingPolicy::shareScope(*this, extract(g));
+    LockingPolicy::shareScope(*this, this->extract(g));
 
   }
 
@@ -458,7 +458,7 @@ public:
   template <class U, class V>
   Guard(Guard<U, V>& g, LockType& lock) : LockHolder<LockType>(lock) {
 
-    LockingPolicy::transferScope(*this, extract(g));
+    LockingPolicy::transferScope(*this, this->extract(g));
 
   }