remove unecessary templates

This commit is contained in:
mat 2023-03-01 20:09:37 -03:00 committed by GitHub
parent abad98f951
commit c71890c179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -91,7 +91,6 @@ namespace geode::modifier {
static_cast<Parent*>(parent)->Parent::~Parent();
}
template <class = std::enable_if_t<true>>
operator Parent*() {
// get the this pointer of the base
// field intermediate is the first member of Modify
@ -122,8 +121,6 @@ namespace geode::modifier {
);
}
template <class = std::enable_if_t<true>>
Parent* operator->() {
return this->operator Parent*();
}