cpp-common/bt2: remove redundant assertions
[babeltrace.git] / src / cpp-common / bt2 / optional-borrowed-object.hpp
index 100abf4def965da8b4ccc25ea4d1c46a58c1ab82..941a87b1e96f0525eb9cfd5db7064ff87e5d5c0e 100644 (file)
@@ -9,8 +9,6 @@
 
 #include <type_traits>
 
-#include "common/assert.h"
-
 #include "borrowed-object-proxy.hpp"
 
 namespace bt2 {
@@ -147,7 +145,6 @@ public:
 
     ObjT object() const noexcept
     {
-        BT_ASSERT_DBG(_mLibObjPtr);
         return ObjT {_mLibObjPtr};
     }
 
This page took 0.022451 seconds and 4 git commands to generate.