Skip to content

Commit 5b10e05

Browse files
authored
Update MSB.h
Ugly bug corrected. Trying to assign a reference to constant ...
1 parent 7913d2b commit 5b10e05

File tree

1 file changed

+2
-2
lines changed
  • hydra/detail/utility

1 file changed

+2
-2
lines changed

hydra/detail/utility/MSB.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ inline typename std::enable_if<
5555
!(std::is_signed<Integer>::value) &&
5656
(std::numeric_limits<Integer>::digits==64)
5757
, unsigned>::type
58-
msb( Integer const& x){
58+
msb( Integer x){
5959

6060
if(!x) return 64;
6161

@@ -105,7 +105,7 @@ inline typename std::enable_if<
105105
!(std::is_signed<Integer>::value) &&
106106
(std::numeric_limits<Integer>::digits<=32)
107107
, unsigned>::type
108-
msb( Integer const& x){
108+
msb( Integer x){
109109

110110
if(!x) return 32;
111111

0 commit comments

Comments
 (0)