Fix: trace-ir.hpp: no need to provide a bt2::Trace to create a bt2::Trace
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Mon, 30 May 2022 19:28:27 +0000 (15:28 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 11 Sep 2023 15:24:02 +0000 (11:24 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: I3d1af5c8c9057a7a252f2e2a72313cc71bf396f8
Reviewed-on: https://review.lttng.org/c/babeltrace/+/8186
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10829
Tested-by: jenkins <jenkins@lttng.org>
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>

src/cpp-common/bt2/trace-ir.hpp

index d55b6e1f4e4f22c117443dfb224c7f9c675a5538..727a9946c11e81ccab4bfdd18e22fb12642f06e1 100644 (file)
@@ -1952,7 +1952,7 @@ public:
         return *this;
     }
 
-    Trace::Shared instantiate(const Trace trace)
+    Trace::Shared instantiate()
     {
         static_assert(!std::is_const<LibObjT>::value, "`LibObjT` must NOT be `const`.");
 
This page took 0.026864 seconds and 4 git commands to generate.