Line 0
Link Here
|
|
|
1 |
--- src/external/rawspeed/src/librawspeed/common/Mutex.h.orig 2019-08-13 19:14:10 UTC |
2 |
+++ src/external/rawspeed/src/librawspeed/common/Mutex.h |
3 |
@@ -77,12 +77,12 @@ class CAPABILITY("mutex") Mutex final { (public) |
4 |
// Acquire/lock this mutex exclusively. Only one thread can have exclusive |
5 |
// access at any one time. Write operations to guarded data require an |
6 |
// exclusive lock. |
7 |
- void __attribute__((const)) Lock() const ACQUIRE() { |
8 |
+ void Lock() ACQUIRE() { |
9 |
// NOP, since there is no mutex. only here to still check for proper locking |
10 |
} |
11 |
|
12 |
// Release/unlock an exclusive mutex. |
13 |
- void __attribute__((const)) Unlock() const RELEASE() { |
14 |
+ void Unlock() RELEASE() { |
15 |
// NOP, since there is no mutex. only here to still check for proper locking |
16 |
} |
17 |
|