From b59d742646ab95e63a1a62e41375f39e2b9608e4 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 10 May 2024 15:30:40 -0400 Subject: [PATCH] cpp-common/bt2c/read-fixed-len-int.hpp: remove useless `bt2c::` Signed-off-by: Philippe Proulx Change-Id: Ieb06919f8a18f2cb31d542d2eeb20ff096c985a7 Reviewed-on: https://review.lttng.org/c/babeltrace/+/12764 --- src/cpp-common/bt2c/read-fixed-len-int.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpp-common/bt2c/read-fixed-len-int.hpp b/src/cpp-common/bt2c/read-fixed-len-int.hpp index 5807378d..2a01c4a1 100644 --- a/src/cpp-common/bt2c/read-fixed-len-int.hpp +++ b/src/cpp-common/bt2c/read-fixed-len-int.hpp @@ -37,7 +37,7 @@ IntT readFixedLenInt(const std::uint8_t * const buf) template IntT readFixedLenIntLe(const std::uint8_t * const buf) { - return bt2c::littleEndianToNative(readFixedLenInt(buf)); + return littleEndianToNative(readFixedLenInt(buf)); } /* @@ -47,7 +47,7 @@ IntT readFixedLenIntLe(const std::uint8_t * const buf) template IntT readFixedLenIntBe(const std::uint8_t * const buf) { - return bt2c::bigEndianToNative(readFixedLenInt(buf)); + return bigEndianToNative(readFixedLenInt(buf)); } } /* namespace bt2c */ -- 2.34.1