Remove redundant operators

This commit is contained in:
fed 2023-02-16 20:33:56 +01:00
parent f98f7ad781
commit a309c87324
2 changed files with 0 additions and 14 deletions

View File

@ -342,14 +342,4 @@ namespace ui_scripting
{
return call_script_function(*this, arguments);
}
arguments function::operator()(const arguments& arguments) const
{
return this->call(arguments);
}
arguments function::operator()() const
{
return this->call({});
}
}

View File

@ -118,16 +118,12 @@ namespace ui_scripting
arguments call(const arguments& arguments) const;
arguments operator()(const arguments& arguments) const;
template<class ...T>
arguments operator()(T... arguments) const
{
return this->call({arguments...});
}
arguments operator()() const;
game::hks::cclosure* ptr;
game::hks::HksObjectType type;