From 50f6f3fe7312b95715091dff45f581606013a726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 15 Mar 2022 12:52:47 +0100 Subject: [PATCH] Fix unnecessary intx:: prefix usage --- include/intx/intx.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/intx/intx.hpp b/include/intx/intx.hpp index 236569fa..89127313 100644 --- a/include/intx/intx.hpp +++ b/include/intx/intx.hpp @@ -1087,12 +1087,12 @@ inline constexpr bool operator!=(const T& x, const uint& y) noexcept #if !defined(_MSC_VER) || _MSC_VER < 1916 // This kills MSVC 2017 compiler. inline constexpr bool operator<(const uint256& x, const uint256& y) noexcept { - auto xp = intx::uint128{x[2], x[3]}; - auto yp = intx::uint128{y[2], y[3]}; + auto xp = uint128{x[2], x[3]}; + auto yp = uint128{y[2], y[3]}; if (xp == yp) { - xp = intx::uint128{x[0], x[1]}; - yp = intx::uint128{y[0], y[1]}; + xp = uint128{x[0], x[1]}; + yp = uint128{y[0], y[1]}; } return xp < yp; }