From 7526e119afd189525821b15f685be4e763364273 Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Wed, 15 May 2024 17:05:14 -0700 Subject: [PATCH] Annotate interposable calls to fix later --- VersionedMap.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/VersionedMap.cpp b/VersionedMap.cpp index 0d9054a..867824b 100644 --- a/VersionedMap.cpp +++ b/VersionedMap.cpp @@ -1048,6 +1048,7 @@ VersionedMap::Iterator &VersionedMap::Iterator::operator++() { VersionedMap::Iterator VersionedMap::Iterator::operator++(int) { auto result = *this; + // TODO Interposable call ++*this; return result; } @@ -1101,6 +1102,7 @@ VersionedMap::Iterator &VersionedMap::Iterator::operator--() { VersionedMap::Iterator VersionedMap::Iterator::operator--(int) { auto result = *this; + // TODO Interposable call --*this; return result; } @@ -1168,8 +1170,10 @@ void VersionedMap::Impl::firstGeq(const Key *key, const int64_t *version, iterator[i].impl->mutationIndex = 0; } + // TODO Interposable call auto m = *iterator[i]; if (Key{m.param1, m.param1Len} < key[i]) { + // TODO Interposable call ++iterator[i]; } }