From: Philippe Proulx Date: Mon, 9 May 2022 18:12:28 +0000 (-0400) Subject: Fix: src/cpp-common/bt2/trace-ir.hpp: use correct variable name X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7593e64658feb0613182b9e51b5ad137b7fa41e4;p=babeltrace.git Fix: src/cpp-common/bt2/trace-ir.hpp: use correct variable name Signed-off-by: Philippe Proulx Change-Id: Ic6fec0fbe90b5528a37ef34e67c4789c61fb7ad6 Reviewed-on: https://review.lttng.org/c/babeltrace/+/8004 Reviewed-on: https://review.lttng.org/c/babeltrace/+/10788 Tested-by: jenkins --- diff --git a/src/cpp-common/bt2/trace-ir.hpp b/src/cpp-common/bt2/trace-ir.hpp index 94d57dc3..33f77105 100644 --- a/src/cpp-common/bt2/trace-ir.hpp +++ b/src/cpp-common/bt2/trace-ir.hpp @@ -1510,7 +1510,7 @@ public: static_assert(!std::is_const::value, "`LibObjT` must NOT be `const`."); bt_stream_class_set_supports_discarded_events( - this->libObjPtr(), static_cast(supportsPackets), + this->libObjPtr(), static_cast(supportsDiscardedEvents), static_cast(withDefaultClkSnapshots)); } @@ -1531,7 +1531,7 @@ public: static_assert(!std::is_const::value, "`LibObjT` must NOT be `const`."); bt_stream_class_set_supports_discarded_packets( - this->libObjPtr(), static_cast(supportsPackets), + this->libObjPtr(), static_cast(supportsDiscardedPackets), static_cast(withDefaultClkSnapshots)); }