From 7593e64658feb0613182b9e51b5ad137b7fa41e4 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 9 May 2022 14:12:28 -0400 Subject: [PATCH] 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 --- src/cpp-common/bt2/trace-ir.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } -- 2.34.1