projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add bt2_common::UuidView::operator<()
[babeltrace.git]
/
src
/
cpp-common
/
uuid-view.hpp
diff --git
a/src/cpp-common/uuid-view.hpp
b/src/cpp-common/uuid-view.hpp
index 6fae4430da305de1329aad8cfe4cd2a2ca908ad3..7816f25ea9135e24404a3f375453663fe67170bb 100644
(file)
--- a/
src/cpp-common/uuid-view.hpp
+++ b/
src/cpp-common/uuid-view.hpp
@@
-37,6
+37,11
@@
public:
return !(*this == other);
}
+ bool operator<(const UuidView& other) const noexcept
+ {
+ return bt_uuid_compare(_mUuid, other._mUuid) < 0;
+ }
+
std::string string() const
{
std::string s;
This page took
0.03739 seconds
and
4
git commands to generate.