🔀 merge from develop

pull/2259/head
Niels Lohmann 2020-06-27 13:16:20 +02:00
parent ac3922c7aa
commit d7a2956b24
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
3 changed files with 626 additions and 625 deletions

View File

@ -403,9 +403,9 @@ using contiguous_bytes_input_adapter = decltype(input_adapter(std::declval<const
// Null-delimited strings, and the like.
template < typename CharT,
typename std::enable_if <
std::is_pointer<CharT>::value &&
not std::is_array<CharT>::value &&
std::is_integral<typename std::remove_pointer<CharT>::type>::value &&
std::is_pointer<CharT>::value&&
not std::is_array<CharT>::value&&
std::is_integral<typename std::remove_pointer<CharT>::type>::value&&
sizeof(typename std::remove_pointer<CharT>::type) == 1,
int >::type = 0 >
contiguous_bytes_input_adapter input_adapter(CharT b)

View File

@ -1511,7 +1511,7 @@ scan_number_done:
skip_whitespace();
// ignore comments
if (ignore_comments and current == '/')
if (ignore_comments && current == '/')
{
if (not scan_comment())
{

File diff suppressed because it is too large Load Diff