Skip to content

Commit e1b7a4d

Browse files
committed
Syntax fix
1 parent 085bdd9 commit e1b7a4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/CXXGraph/Partitioning/CoordinatedRecord.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ bool CoordinatedRecord<T>::hasReplicaInPartition(const int m) const {
117117
template <typename T>
118118
bool CoordinatedRecord<T>::getLock() {
119119
this->owns_lock = lock->try_lock();
120-
return owns_lock;
120+
return this->owns_lock;
121121
}
122122

123123
template <typename T>
124124
bool CoordinatedRecord<T>::releaseLock() {
125-
if (owns_lock) {
125+
if (this->owns_lock) {
126126
lock->unlock();
127127
this->owns_lock = false;
128128
return true;

0 commit comments

Comments
 (0)