mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-24 01:54:22 +00:00
Code cleanup
This commit is contained in:
parent
2fdff085b6
commit
a9efe89bd1
1 changed files with 3 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ namespace std
|
|||
{
|
||||
virtual ~FunctorHolderBase() {};
|
||||
virtual size_t getSize() const noexcept = 0;
|
||||
virtual FunctorHolderBase* copy (void*) const = 0;
|
||||
virtual void copy (void*) const = 0;
|
||||
virtual ReturnType operator()(Args...) = 0;
|
||||
};
|
||||
|
||||
|
|
@ -140,9 +140,9 @@ namespace std
|
|||
return sizeof (*this);
|
||||
}
|
||||
|
||||
FunctorHolder* copy (void* destination) const override final
|
||||
void copy (void* destination) const override final
|
||||
{
|
||||
return new (destination) FunctorHolder (f);
|
||||
new (destination) FunctorHolder (f);
|
||||
}
|
||||
|
||||
ReturnType operator()(Args... args) override final
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue