Compare commits

..

1 Commits

Author SHA1 Message Date
Erki
b8a6cf0de0 Utility: fix function classes to have a common interface for virtual dispatch
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-22 23:18:35 +03:00

View File

@ -21,7 +21,7 @@ public:
using result_type = R; using result_type = R;
virtual ~IFunction() virtual ~IFunction()
{ } {}
virtual result_type operator()(Args... args) = 0; virtual result_type operator()(Args... args) = 0;
}; };
@ -77,7 +77,7 @@ public:
} }
~FunctionOwned() override ~FunctionOwned() override
{ } {}
result_type operator()(Args... args) override result_type operator()(Args... args) override
{ {