diff --git a/juce_amalgamated.h b/juce_amalgamated.h index a82ad1d35f..4038e11dd3 100644 --- a/juce_amalgamated.h +++ b/juce_amalgamated.h @@ -2842,7 +2842,7 @@ protected: } /** Destructor. */ - virtual ~ArrayAllocationBase() + ~ArrayAllocationBase() { delete[] elements; } diff --git a/src/containers/juce_ArrayAllocationBase.h b/src/containers/juce_ArrayAllocationBase.h index 456b5412e3..325ff89ed8 100644 --- a/src/containers/juce_ArrayAllocationBase.h +++ b/src/containers/juce_ArrayAllocationBase.h @@ -63,7 +63,7 @@ protected: } /** Destructor. */ - virtual ~ArrayAllocationBase() + ~ArrayAllocationBase() { delete[] elements; }