mirror of
https://github.com/nlohmann/json.git
synced 2024-11-27 16:49:02 +08:00
🏁 revert change that breaks with MSVC
This commit is contained in:
parent
8b3d2399a4
commit
a9809f3381
@ -701,7 +701,7 @@ class serializer
|
||||
}
|
||||
|
||||
// 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
|
||||
number_unsigned_t abs_value;
|
||||
|
@ -15606,7 +15606,7 @@ class serializer
|
||||
}
|
||||
|
||||
// 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
|
||||
number_unsigned_t abs_value;
|
||||
|
Loading…
Reference in New Issue
Block a user