🏁 revert change that breaks with MSVC

This commit is contained in:
Niels Lohmann 2020-06-22 23:02:28 +02:00
parent 8b3d2399a4
commit a9809f3381
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;