summaryrefslogtreecommitdiffstats
path: root/graphics/hugin/0002-access-extract-through-this-pointer.patch
blob: c29b5bef066e55f9dd0bff6aa25720062374d844 (plain) (blame)
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
27
28
29
30
31
32
33
34
From 345bb4349b2c37e3193378347db557abf6d200aa Mon Sep 17 00:00:00 2001
From: Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
Date: Fri, 26 Oct 2012 22:24:43 +0200
Subject: [PATCH 2/2] access extract through this pointer

---
 src/foreign/zthread/include/zthread/Guard.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/foreign/zthread/include/zthread/Guard.h b/src/foreign/zthread/include/zthread/Guard.h
index abcd92c..e690a5b 100755
--- a/src/foreign/zthread/include/zthread/Guard.h
+++ b/src/foreign/zthread/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));
 
   }
 
-- 
1.8.0