cpp-common/bt2c/read-fixed-len-int.hpp: remove useless `bt2c::`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 10 May 2024 19:30:40 +0000 (15:30 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ieb06919f8a18f2cb31d542d2eeb20ff096c985a7
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12764

src/cpp-common/bt2c/read-fixed-len-int.hpp

index 5807378d4225abaf4ca0fab921e12f900f0ec166..2a01c4a1b8a635ba9ae74a40f20d20d15b38282f 100644 (file)
@@ -37,7 +37,7 @@ IntT readFixedLenInt(const std::uint8_t * const buf)
 template <typename IntT>
 IntT readFixedLenIntLe(const std::uint8_t * const buf)
 {
-    return bt2c::littleEndianToNative(readFixedLenInt<IntT>(buf));
+    return littleEndianToNative(readFixedLenInt<IntT>(buf));
 }
 
 /*
@@ -47,7 +47,7 @@ IntT readFixedLenIntLe(const std::uint8_t * const buf)
 template <typename IntT>
 IntT readFixedLenIntBe(const std::uint8_t * const buf)
 {
-    return bt2c::bigEndianToNative(readFixedLenInt<IntT>(buf));
+    return bigEndianToNative(readFixedLenInt<IntT>(buf));
 }
 
 } /* namespace bt2c */
This page took 0.026715 seconds and 4 git commands to generate.