mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 02:18:39 +08:00
Update fdbclient/VersionedMap.h
Co-Authored-By: Steve Atherton <stevea@apple.com>
This commit is contained in:
parent
d049105a69
commit
2526c1a0d2
@ -520,7 +520,7 @@ public:
|
||||
|
||||
void forgetVersionsBefore(Version newOldestVersion) {
|
||||
ASSERT( newOldestVersion <= latestVersion );
|
||||
auto r = upper_bound(roots.begin(), roots.end(), newOldestVersion, compare());
|
||||
auto r = upper_bound(roots.begin(), roots.end(), newOldestVersion, rootsComparator());
|
||||
auto upper = r;
|
||||
--r;
|
||||
// if the specified newOldestVersion does not exist, insert a new
|
||||
|
Loading…
x
Reference in New Issue
Block a user