revert order to avoid msvc 2015 unreferenced formal param error
This commit is contained in:
parent
8dd4a61ad6
commit
8083430a7a
@ -1617,7 +1617,7 @@ class binary_writer
|
||||
std::memcpy(vec.data(), &n, sizeof(NumberType));
|
||||
|
||||
// step 2: write array to output (with possible reordering)
|
||||
if (is_little_endian != (OutputIsLittleEndian || use_bjdata))
|
||||
if (is_little_endian != (use_bjdata || OutputIsLittleEndian))
|
||||
{
|
||||
// reverse byte order prior to conversion if necessary
|
||||
std::reverse(vec.begin(), vec.end());
|
||||
|
||||
@ -15441,7 +15441,7 @@ class binary_writer
|
||||
std::memcpy(vec.data(), &n, sizeof(NumberType));
|
||||
|
||||
// step 2: write array to output (with possible reordering)
|
||||
if (is_little_endian != (OutputIsLittleEndian || use_bjdata))
|
||||
if (is_little_endian != (use_bjdata || OutputIsLittleEndian))
|
||||
{
|
||||
// reverse byte order prior to conversion if necessary
|
||||
std::reverse(vec.begin(), vec.end());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user