Remove unnecessary parameter from checkUnreadability

This commit is contained in:
sfc-gh-tclinkenbeard 2020-09-13 21:31:53 -07:00
parent efb8d6f4ee
commit 09b3b7a325

View File

@ -126,9 +126,10 @@ struct UnreadableWorkload : TestWorkload {
key.setKey(it->first);
}
static void checkUnreadablity(Arena arena, std::map<KeyRef, ValueRef> const& setMap, KeyRangeMap<bool> & unreadableMap,
KeySelectorRef const& _begin, KeySelectorRef const& _end, bool isUnreadable, int limit, bool reverse) {
static void checkUnreadability(std::map<KeyRef, ValueRef> const& setMap, KeyRangeMap<bool>& unreadableMap,
KeySelectorRef const& _begin, KeySelectorRef const& _end, bool isUnreadable,
int limit, bool reverse) {
/*
for (auto it : setMap) {
TraceEvent("RYWT_SetMapContents").detail("Key", printable(it.first));
@ -412,7 +413,7 @@ struct UnreadableWorkload : TestWorkload {
ASSERT(!isUnreadable);
}
else {
checkUnreadablity(arena, setMap, unreadableMap, begin, end, isUnreadable, limit, reverse);
checkUnreadability(setMap, unreadableMap, begin, end, isUnreadable, limit, reverse);
}
}
else {