1
0
Fork 0

fix invalid logical expression

This commit is contained in:
jsteemann 2016-12-27 18:44:15 +01:00
parent 47cd7673d1
commit dea26c02a9
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class MMFilesDocumentPosition {
// the _fid value is set, and to a datafile otherwise // the _fid value is set, and to a datafile otherwise
inline bool pointsToWal() const noexcept { inline bool pointsToWal() const noexcept {
// check whether the WAL bit is set // check whether the WAL bit is set
return ((_fid & arangodb::DatafileHelper::WalFileBitmask()) == 1); return ((_fid & arangodb::DatafileHelper::WalFileBitmask()) != 0);
} }
inline operator bool() const noexcept { inline operator bool() const noexcept {