From: Francis Deslauriers Date: Mon, 30 May 2022 17:41:36 +0000 (-0400) Subject: Fix: integer-range-set.hpp: calling `_get_ref()` rather than `_put_ref()` X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1796d135e179500e4713af35f0a236f6cbac03ad;p=babeltrace.git Fix: integer-range-set.hpp: calling `_get_ref()` rather than `_put_ref()` Signed-off-by: Francis Deslauriers Change-Id: Ic7c381d7dd7f2c5780f7678e48b76d23e8f3ca00 Reviewed-on: https://review.lttng.org/c/babeltrace/+/8183 Reviewed-by: Philippe Proulx Reviewed-on: https://review.lttng.org/c/babeltrace/+/10827 CI-Build: Philippe Proulx Tested-by: jenkins --- diff --git a/src/cpp-common/bt2/integer-range-set.hpp b/src/cpp-common/bt2/integer-range-set.hpp index 38c2a7fd..ad2baa1e 100644 --- a/src/cpp-common/bt2/integer-range-set.hpp +++ b/src/cpp-common/bt2/integer-range-set.hpp @@ -34,7 +34,7 @@ struct IntegerRangeSetRefFuncs final static void put(const bt_integer_range_set_unsigned * const libObjPtr) { - bt_integer_range_set_unsigned_get_ref(libObjPtr); + bt_integer_range_set_unsigned_put_ref(libObjPtr); } }; @@ -48,7 +48,7 @@ struct IntegerRangeSetRefFuncs final static void put(const bt_integer_range_set_signed * const libObjPtr) { - bt_integer_range_set_signed_get_ref(libObjPtr); + bt_integer_range_set_signed_put_ref(libObjPtr); } };