• Montoli's avatar
    Swapped the order of two conditions in an assert. (#4663) · cc158e70
    Montoli authored
    An assert in flexbuffers was bit-shifting a 64-bit number by
    64 bits, which throws up warnings in some automated tools.
    
    The same assert also checks to see if the number of bytes
    being shifted is 8.  Swapped the order, so that the bitshift
    only occurs if the number of bits being shifted is not 64.
    
    Should be the same behavior, but plays nicer with diagnostic
    tools.
    cc158e70
Name
Last commit
Last update
.github Loading commit data...
.travis Loading commit data...
CMake Loading commit data...
android Loading commit data...
biicode Loading commit data...
docs Loading commit data...
go Loading commit data...
grpc Loading commit data...
include/flatbuffers Loading commit data...
java/com/google/flatbuffers Loading commit data...
js Loading commit data...
net/FlatBuffers Loading commit data...
php Loading commit data...
python Loading commit data...
reflection Loading commit data...
samples Loading commit data...
src Loading commit data...
tests Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
BUILD Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
WORKSPACE Loading commit data...
appveyor.yml Loading commit data...
biicode.conf Loading commit data...
composer.json Loading commit data...
conanfile.py Loading commit data...
package.json Loading commit data...
pom.xml Loading commit data...
readme.md Loading commit data...