Browse Source

Code cleanup

tags/2021-05-28
tpoole 8 years ago
parent
commit
a9efe89bd1
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_core/misc/juce_StdFunctionCompat.h

+ 3
- 3
modules/juce_core/misc/juce_StdFunctionCompat.h View File

@@ -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…
Cancel
Save