cpp-common/bt2: specify default constructor for `UnknownObject`
[babeltrace.git] / src / cpp-common / bt2 / exc.hpp
index d398e9cbd7d356dce7e247efc612af5151db9d6a..126d35a433fc57bd039c9246348a24df1ea5e1c2 100644 (file)
@@ -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.022438 seconds and 4 git commands to generate.