Commit 0462706d authored by Jason Rhinelander's avatar Jason Rhinelander

Fix _removed virtual method copy-and-paste error

parent f3d3087a
......@@ -28,7 +28,7 @@ public:
void removed() override {
/* Simulation takes a reference during add(), we release it during member.removed() */
py::cast(this).dec_ref();
PYBIND11_OVERLOAD_NAME(void, Base, "_added", removed);
PYBIND11_OVERLOAD_NAME(void, Base, "_removed", removed);
}
void weakDepRemoved(SharedMember<Member> removed, eris_id_t old_id) override {
PYBIND11_OVERLOAD_NAME(void, Base, "weak_dep_removed", weakDepRemoved, removed, old_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment