Fix version_set.cc comments typo

Fix typo of comment of FindLargestKey function
This commit is contained in:
zzt 2021-09-03 11:18:31 +08:00 committed by GitHub
parent 5783a79309
commit 11aafab31f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1304,7 +1304,7 @@ Compaction* VersionSet::PickCompaction() {
return c; return c;
} }
// Finds the largest key in a vector of files. Returns true if files it not // Finds the largest key in a vector of files. Returns true if files is not
// empty. // empty.
bool FindLargestKey(const InternalKeyComparator& icmp, bool FindLargestKey(const InternalKeyComparator& icmp,
const std::vector<FileMetaData*>& files, const std::vector<FileMetaData*>& files,