projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: apply suggested clang-tidy fixes
[lttng-tools.git]
/
src
/
common
/
container-wrapper.hpp
diff --git
a/src/common/container-wrapper.hpp
b/src/common/container-wrapper.hpp
index 20642a8d294213a5a914bd6d3a0cbedcb2c4767c..25385fc43837961ec4301dd9f7254f0b89ccc3b6 100644
(file)
--- a/
src/common/container-wrapper.hpp
+++ b/
src/common/container-wrapper.hpp
@@
-60,6
+60,11
@@
class random_access_container_wrapper {
return *this;
}
return *this;
}
+ ptrdiff_t operator-(const _iterator& other) const
+ {
+ return _index - other._index;
+ }
+
bool operator==(const _iterator& other) const noexcept
{
return _index == other._index;
bool operator==(const _iterator& other) const noexcept
{
return _index == other._index;
This page took
0.024294 seconds
and
4
git commands to generate.