cpp-common/bt2: don't use wrap in bindings code
[babeltrace.git] / src / cpp-common / bt2 / graph.hpp
index 63199bf737de3897f1c0393cef84246beef7ecdf..c1c6ad09ca932c7fa4e02f23492aa1b14e4f2d4d 100644 (file)
@@ -182,7 +182,7 @@ private:
             throw MemoryError {};
         }
 
-        return wrap(libObjPtr);
+        return ConstComponentT {libObjPtr};
     }
 };
 
This page took 0.023934 seconds and 4 git commands to generate.