From c7d1a2093b2a17d76b15afc950425d891810f196 Mon Sep 17 00:00:00 2001 From: Vasiliy Olekhov Date: Thu, 22 Aug 2024 14:30:02 +0300 Subject: [PATCH] Add proper type reference #312 --- .../crypto3/multiprecision/cpp_int_modular/import_export.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/multiprecision/include/nil/crypto3/multiprecision/cpp_int_modular/import_export.hpp b/libs/multiprecision/include/nil/crypto3/multiprecision/cpp_int_modular/import_export.hpp index 21e1a52b4..b9e7ae58a 100644 --- a/libs/multiprecision/include/nil/crypto3/multiprecision/cpp_int_modular/import_export.hpp +++ b/libs/multiprecision/include/nil/crypto3/multiprecision/cpp_int_modular/import_export.hpp @@ -41,7 +41,7 @@ namespace boost { } /* If some bits need to be assigned to the next limb */ - if constexpr (!std::is_same>, Unsigned>::value) { + if constexpr (!std::is_same::reference, Unsigned>::value) { if (chunk_bits > sizeof(limb_type) * CHAR_BIT - shift) { shift = sizeof(limb_type) * CHAR_BIT - shift; chunk_bits -= shift;