Add m_fields.self()

This commit is contained in:
alk 2023-03-03 12:08:56 +03:00 committed by GitHub
parent c71890c179
commit 0706e52c81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -121,6 +121,10 @@ namespace geode::modifier {
); );
} }
Parent* self() {
return this->operator Parent*();
}
Parent* operator->() { Parent* operator->() {
return this->operator Parent*(); return this->operator Parent*();
} }