🏁 revert change that breaks with MSVC
This commit is contained in:
parent
8b3d2399a4
commit
a9809f3381
2 changed files with 2 additions and 2 deletions
|
@ -701,7 +701,7 @@ class serializer
|
||||||
}
|
}
|
||||||
|
|
||||||
// use a pointer to fill the buffer
|
// use a pointer to fill the buffer
|
||||||
auto* buffer_ptr = number_buffer.begin();
|
auto buffer_ptr = number_buffer.begin();
|
||||||
|
|
||||||
const bool is_negative = std::is_same<NumberType, number_integer_t>::value and not(x >= 0); // see issue #755
|
const bool is_negative = std::is_same<NumberType, number_integer_t>::value and not(x >= 0); // see issue #755
|
||||||
number_unsigned_t abs_value;
|
number_unsigned_t abs_value;
|
||||||
|
|
|
@ -15606,7 +15606,7 @@ class serializer
|
||||||
}
|
}
|
||||||
|
|
||||||
// use a pointer to fill the buffer
|
// use a pointer to fill the buffer
|
||||||
auto* buffer_ptr = number_buffer.begin();
|
auto buffer_ptr = number_buffer.begin();
|
||||||
|
|
||||||
const bool is_negative = std::is_same<NumberType, number_integer_t>::value and not(x >= 0); // see issue #755
|
const bool is_negative = std::is_same<NumberType, number_integer_t>::value and not(x >= 0); // see issue #755
|
||||||
number_unsigned_t abs_value;
|
number_unsigned_t abs_value;
|
||||||
|
|
Loading…
Reference in a new issue