From 5b10e05e2517c27f270507c27ea76c85a62e24f5 Mon Sep 17 00:00:00 2001 From: Antonio Augusto Alves Junior Date: Mon, 13 Jul 2020 15:31:56 +0200 Subject: [PATCH] Update MSB.h Ugly bug corrected. Trying to assign a reference to constant ... --- hydra/detail/utility/MSB.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hydra/detail/utility/MSB.h b/hydra/detail/utility/MSB.h index 5921140fa..655b33f7d 100644 --- a/hydra/detail/utility/MSB.h +++ b/hydra/detail/utility/MSB.h @@ -55,7 +55,7 @@ inline typename std::enable_if< !(std::is_signed::value) && (std::numeric_limits::digits==64) , unsigned>::type -msb( Integer const& x){ +msb( Integer x){ if(!x) return 64; @@ -105,7 +105,7 @@ inline typename std::enable_if< !(std::is_signed::value) && (std::numeric_limits::digits<=32) , unsigned>::type -msb( Integer const& x){ +msb( Integer x){ if(!x) return 32;