projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea00303
)
cpp-common/bt2: specify default constructor for `UnknownObject`
author
Simon Marchi
<simon.marchi@efficios.com>
Wed, 21 Feb 2024 21:28:22 +0000
(16:28 -0500)
committer
Simon Marchi
<simon.marchi@efficios.com>
Tue, 26 Mar 2024 18:56:36 +0000
(14:56 -0400)
The constructor is trivial, specify a default constructor.
Change-Id: I9b9ecde9205e8dc57f7fe2f1da494db1c31633c2
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11845
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/cpp-common/bt2/exc.hpp
patch
|
blob
|
blame
|
history
diff --git
a/src/cpp-common/bt2/exc.hpp
b/src/cpp-common/bt2/exc.hpp
index d398e9cbd7d356dce7e247efc612af5151db9d6a..126d35a433fc57bd039c9246348a24df1ea5e1c2 100644
(file)
--- a/
src/cpp-common/bt2/exc.hpp
+++ b/
src/cpp-common/bt2/exc.hpp
@@
-22,9
+22,7
@@
using TryAgain = bt2c::TryAgain;
class UnknownObject : public std::exception
{
public:
- explicit UnknownObject() noexcept : std::exception {}
- {
- }
+ explicit UnknownObject() noexcept = default;
};
} /* namespace bt2 */
This page took
0.024956 seconds
and
4
git commands to generate.