Skip to content

Commit

Permalink
Fixed fatal compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aferrero2707 committed Jun 10, 2019
1 parent 790e021 commit 84c19b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/external/rawspeed/src/librawspeed/common/Mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ class CAPABILITY("mutex") Mutex final {
// Acquire/lock this mutex exclusively. Only one thread can have exclusive
// access at any one time. Write operations to guarded data require an
// exclusive lock.
void __attribute__((const)) Lock() const ACQUIRE() {
void __attribute__((const)) Lock() ACQUIRE() {
// NOP, since there is no mutex. only here to still check for proper locking
}

// Release/unlock an exclusive mutex.
void __attribute__((const)) Unlock() const RELEASE() {
void __attribute__((const)) Unlock() RELEASE() {
// NOP, since there is no mutex. only here to still check for proper locking
}

Expand Down

0 comments on commit 84c19b6

Please sign in to comment.