Fix: cpp-common/bt2: don't pass a lib obj ptr when constructing a `CommonNullValue`
[babeltrace.git] / src / cpp-common / bt2 / value.hpp
index 6c3c58ca5a4bd9f0f5d0b03caa261aef71133683..14ae5a2b3b7f325dde5be3c6582fde908506fc3f 100644 (file)
@@ -1420,7 +1420,7 @@ template <typename LibObjT>
 CommonNullValue<LibObjT> CommonValue<LibObjT>::asNull() const noexcept
 {
     BT_ASSERT_DBG(this->isNull());
-    return CommonNullValue<LibObjT> {this->libObjPtr()};
+    return CommonNullValue<LibObjT> {};
 }
 
 template <typename LibObjT>
This page took 0.02287 seconds and 4 git commands to generate.