Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Jul 19, 2024
1 parent ccd5d0b commit 2172035
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/script_interface/tests/ObjectMap_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ struct ObjectMapImpl : ObjectMap<ObjectHandle> {
std::unordered_map<KeyType, ObjectRef> mock_core;

private:
void do_construct(VariantMap const &params) override {
restore_from_checkpoint(params);
}
void insert_in_core(KeyType const &key, ObjectRef const &obj_ptr) override {
next_key = std::max(next_key, key + 1);
mock_core[key] = obj_ptr;
Expand Down

0 comments on commit 2172035

Please sign in to comment.