Take keyRange by const reference

This commit is contained in:
Andrew Noyes 2021-01-19 16:49:48 +00:00
parent a5d6c96875
commit 45f064c420
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ public:
static const StringRef emptyString; static const StringRef emptyString;
static const KeyRangeRef emptyKeyRange; static const KeyRangeRef emptyKeyRange;
public: public:
void recordStart(const UID id, const KeyRange keyRange) { void recordStart(const UID id, const KeyRange& keyRange) {
startTimeMap[id] = now(); startTimeMap[id] = now();
keyRangeMap[id] = keyRange; keyRangeMap[id] = keyRange;
} }