Eliminate undefined behaviour
This commit is contained in:
parent
667b224fc8
commit
7d84e1b7af
|
@ -728,7 +728,7 @@ StringRef setK(Arena& arena, int i) {
|
|||
#include "fdbserver/ConflictSet.h"
|
||||
|
||||
struct ConflictSet {
|
||||
ConflictSet() : oldestVersion(0) {}
|
||||
ConflictSet() : oldestVersion(0), removalKey(makeString(0)) {}
|
||||
~ConflictSet() {}
|
||||
|
||||
SkipList versionHistory;
|
||||
|
|
|
@ -4899,7 +4899,7 @@ public:
|
|||
|
||||
#include "fdbserver/art_impl.h"
|
||||
|
||||
RedwoodRecordRef VersionedBTree::dbBegin(StringRef(), 0);
|
||||
RedwoodRecordRef VersionedBTree::dbBegin(LiteralStringRef(""));
|
||||
RedwoodRecordRef VersionedBTree::dbEnd(LiteralStringRef("\xff\xff\xff\xff\xff"));
|
||||
VersionedBTree::Counts VersionedBTree::counts;
|
||||
|
||||
|
|
Loading…
Reference in New Issue