diff options
Diffstat (limited to 'pkuuid.h')
| -rw-r--r-- | pkuuid.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -25,8 +25,8 @@ bool pk_uuid_equals(struct pk_uuid lhs, struct pk_uuid rhs); #include <iomanip> std::ostream& operator<<(std::ostream &o, const struct pk_uuid& uuid); std::istream& operator>>(std::istream &i, struct pk_uuid& uuid); -bool operator==(const pk_uuid &lhs, const pk_uuid &rhs) { return pk_uuid_equals(lhs, rhs); } -bool operator!=(const pk_uuid &lhs, const pk_uuid &rhs) { return !pk_uuid_equals(lhs, rhs); } +bool operator==(const pk_uuid &lhs, const pk_uuid &rhs); +bool operator!=(const pk_uuid &lhs, const pk_uuid &rhs); #endif #endif /* PK_UUID_H */ @@ -210,6 +210,11 @@ err_out: uuid = pk_uuid_zed; return i; } + +bool operator==(const pk_uuid &lhs, const pk_uuid &rhs) { return pk_uuid_equals(lhs, rhs); } + +bool operator!=(const pk_uuid &lhs, const pk_uuid &rhs) { return !pk_uuid_equals(lhs, rhs); } + #endif #endif |
