diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/prov/tpm/uuid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/prov/tpm/uuid.h b/src/lib/prov/tpm/uuid.h index 0094f4f83..0cfe6a46f 100644 --- a/src/lib/prov/tpm/uuid.h +++ b/src/lib/prov/tpm/uuid.h @@ -86,14 +86,14 @@ class UUID return h; } - const std::vector<uint8_t> binary_value() const { return m_uuid; } + const std::vector<uint8_t>& binary_value() const { return m_uuid; } - bool operator==(const UUID& other) + bool operator==(const UUID& other) const { return m_uuid == other.m_uuid; } - bool operator!=(const UUID& other) { return !(*this == other); } + bool operator!=(const UUID& other) const { return !(*this == other); } bool is_valid() const { return m_uuid.size() == 16; } |