diff options
| author | Indah Sylvia | 2017-08-07 17:17:31 +0700 |
|---|---|---|
| committer | Indah Sylvia | 2017-08-07 18:24:35 +0700 |
| commit | 5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (patch) | |
| tree | 3f0dcef53a38d356a40fd7adce40387f21904a18 /core/resource.cpp | |
| parent | 7e4970214c92fec0e7262f36765764a81e28b2be (diff) | |
| download | godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.zst godot-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.zip | |
Diffstat (limited to 'core/resource.cpp')
| -rw-r--r-- | core/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/resource.cpp b/core/resource.cpp index 86069bf2e..9bce343cb 100644 --- a/core/resource.cpp +++ b/core/resource.cpp @@ -228,12 +228,12 @@ RID Resource::get_rid() const { void Resource::register_owner(Object *p_owner) { - owners.insert(p_owner->get_instance_ID()); + owners.insert(p_owner->get_instance_id()); } void Resource::unregister_owner(Object *p_owner) { - owners.erase(p_owner->get_instance_ID()); + owners.erase(p_owner->get_instance_id()); } void Resource::notify_change_to_owners() { |
