| 743 | } |
| 744 | |
| 745 | std::optional<OnType> GetMemoTimeForKey(ByType key) { |
| 746 | auto r = GetMemoEntryForKey(key); |
| 747 | if (r.has_value()) { |
| 748 | return (*r)->time; |
| 749 | } else { |
| 750 | return std::nullopt; |
| 751 | } |
| 752 | } |
| 753 | |
| 754 | void RemoveMemoEntriesWithLesserTime(OnType ts) { |
| 755 | memo_.RemoveEntriesWithLesserTime(ts); |
nothing calls this directly
no outgoing calls
no test coverage detected