mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 21:50:55 +01:00
Fix 128 bit uuid comparison.
This commit is contained in:
parent
10d589162b
commit
209f70a083
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ bool NimBLEUUID::operator==(const NimBLEUUID& rhs) const {
|
||||||
return this->getValue() == rhs.getValue();
|
return this->getValue() == rhs.getValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
return memcmp(this->getValue(), rhs.getValue(), 16);
|
return memcmp(this->getValue(), rhs.getValue(), 16) == 0;
|
||||||
} // operator==
|
} // operator==
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue