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: make `{OptionalBorrowedObject,SharedObject}::operator bool` explicit
[babeltrace.git]
/
src
/
cpp-common
/
bt2
/
optional-borrowed-object.hpp
diff --git
a/src/cpp-common/bt2/optional-borrowed-object.hpp
b/src/cpp-common/bt2/optional-borrowed-object.hpp
index 941a87b1e96f0525eb9cfd5db7064ff87e5d5c0e..a967c273a5242da88a412320c52be5bd0efb11f8 100644
(file)
--- a/
src/cpp-common/bt2/optional-borrowed-object.hpp
+++ b/
src/cpp-common/bt2/optional-borrowed-object.hpp
@@
-174,7
+174,7
@@
public:
return _mLibObjPtr;
}
- operator bool() const noexcept
+
explicit
operator bool() const noexcept
{
return this->hasObject();
}
This page took
0.024286 seconds
and
4
git commands to generate.