Take keyRange by const reference
This commit is contained in:
parent
a5d6c96875
commit
45f064c420
|
@ -321,7 +321,7 @@ public:
|
|||
static const StringRef emptyString;
|
||||
static const KeyRangeRef emptyKeyRange;
|
||||
public:
|
||||
void recordStart(const UID id, const KeyRange keyRange) {
|
||||
void recordStart(const UID id, const KeyRange& keyRange) {
|
||||
startTimeMap[id] = now();
|
||||
keyRangeMap[id] = keyRange;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue