mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Fix handling of deleted values in several places. (#241)
Now that the m_entries entry is kept, other places can't assume that a value exists simply because the entry exists.
This commit is contained in:
@@ -251,7 +251,7 @@ class Storage : public IStorage {
|
||||
template <typename F>
|
||||
void DeleteAllEntriesImpl(bool local, F should_delete);
|
||||
void DeleteAllEntriesImpl(bool local);
|
||||
Entry* GetOrNew(StringRef name, bool* is_new = nullptr);
|
||||
Entry* GetOrNew(StringRef name);
|
||||
};
|
||||
|
||||
} // namespace nt
|
||||
|
||||
Reference in New Issue
Block a user