projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpp-common/bt2: systematize the `const` method situation
[babeltrace.git]
/
src
/
cpp-common
/
bt2
/
common-iterator.hpp
diff --git
a/src/cpp-common/bt2/common-iterator.hpp
b/src/cpp-common/bt2/common-iterator.hpp
index e878b1b9c58f607fd88ad4748b5c3847c261cb3c..51b8d8e2709d46976ca06f0b1a52a0b031d77267 100644
(file)
--- a/
src/cpp-common/bt2/common-iterator.hpp
+++ b/
src/cpp-common/bt2/common-iterator.hpp
@@
-64,12
+64,12
@@
public:
return !(*this == other);
}
- reference operator*() noexcept
+ reference operator*()
const
noexcept
{
return *_mCurrVal;
}
- pointer operator->() noexcept
+ pointer operator->()
const
noexcept
{
return &(*_mCurrVal);
}
This page took
0.02302 seconds
and
4
git commands to generate.