| @@ -551,7 +551,14 @@ inline std::unique_ptr<AudioFormatReader> makeAudioFormatReader (AudioFormatMana | |||||
| class AudioFormatReaderFactory | class AudioFormatReaderFactory | ||||
| { | { | ||||
| public: | public: | ||||
| AudioFormatReaderFactory() = default; | |||||
| AudioFormatReaderFactory (const AudioFormatReaderFactory&) = default; | |||||
| AudioFormatReaderFactory (AudioFormatReaderFactory&&) = default; | |||||
| AudioFormatReaderFactory& operator= (const AudioFormatReaderFactory&) = default; | |||||
| AudioFormatReaderFactory& operator= (AudioFormatReaderFactory&&) = default; | |||||
| virtual ~AudioFormatReaderFactory() noexcept = default; | virtual ~AudioFormatReaderFactory() noexcept = default; | ||||
| virtual std::unique_ptr<AudioFormatReader> make (AudioFormatManager&) const = 0; | virtual std::unique_ptr<AudioFormatReader> make (AudioFormatManager&) const = 0; | ||||
| virtual std::unique_ptr<AudioFormatReaderFactory> clone() const = 0; | virtual std::unique_ptr<AudioFormatReaderFactory> clone() const = 0; | ||||
| }; | }; | ||||
| @@ -41,7 +41,6 @@ struct MPEZone | |||||
| enum class Type { lower, upper }; | enum class Type { lower, upper }; | ||||
| MPEZone() = default; | MPEZone() = default; | ||||
| MPEZone (const MPEZone& other) = default; | |||||
| MPEZone (Type type, int memberChannels = 0, int perNotePitchbend = 48, int masterPitchbend = 2) | MPEZone (Type type, int memberChannels = 0, int perNotePitchbend = 48, int masterPitchbend = 2) | ||||
| : zoneType (type), | : zoneType (type), | ||||
| @@ -3492,7 +3492,9 @@ private: | |||||
| struct LockedVSTComSmartPtr | struct LockedVSTComSmartPtr | ||||
| { | { | ||||
| LockedVSTComSmartPtr() = default; | LockedVSTComSmartPtr() = default; | ||||
| LockedVSTComSmartPtr (const VSTComSmartPtr<T>& ptrIn) : ptr (ptrIn) {} | |||||
| LockedVSTComSmartPtr (const VSTComSmartPtr<T>& ptrIn) : ptr (ptrIn) {} | |||||
| LockedVSTComSmartPtr (const LockedVSTComSmartPtr&) = default; | |||||
| LockedVSTComSmartPtr& operator= (const LockedVSTComSmartPtr&) = default; | |||||
| ~LockedVSTComSmartPtr() | ~LockedVSTComSmartPtr() | ||||
| { | { | ||||
| @@ -823,7 +823,7 @@ public: | |||||
| layoutHasChanged = true; | layoutHasChanged = true; | ||||
| err = AudioUnitSetProperty (audioUnit, kAudioUnitProperty_ElementCount, scope, 0, &newCount, sizeof (newCount)); | err = AudioUnitSetProperty (audioUnit, kAudioUnitProperty_ElementCount, scope, 0, &newCount, sizeof (newCount)); | ||||
| jassert (err == noErr); | |||||
| jassertquiet (err == noErr); | |||||
| } | } | ||||
| for (int i = 0; i < n; ++i) | for (int i = 0; i < n; ++i) | ||||
| @@ -35,12 +35,14 @@ template <typename ElementComparator> | |||||
| struct SortFunctionConverter | struct SortFunctionConverter | ||||
| { | { | ||||
| SortFunctionConverter (ElementComparator& e) : comparator (e) {} | SortFunctionConverter (ElementComparator& e) : comparator (e) {} | ||||
| SortFunctionConverter (const SortFunctionConverter&) = default; | |||||
| template <typename Type> | template <typename Type> | ||||
| bool operator() (Type a, Type b) { return comparator.compareElements (a, b) < 0; } | bool operator() (Type a, Type b) { return comparator.compareElements (a, b) < 0; } | ||||
| private: | private: | ||||
| ElementComparator& comparator; | ElementComparator& comparator; | ||||
| SortFunctionConverter& operator= (const SortFunctionConverter&) = delete; | SortFunctionConverter& operator= (const SortFunctionConverter&) = delete; | ||||
| }; | }; | ||||
| @@ -52,9 +52,6 @@ public: | |||||
| /** Creates URL referring to a local file on your disk using the file:// scheme. */ | /** Creates URL referring to a local file on your disk using the file:// scheme. */ | ||||
| explicit URL (File localFile); | explicit URL (File localFile); | ||||
| /** Destructor. */ | |||||
| ~URL() = default; | |||||
| /** Compares two URLs. | /** Compares two URLs. | ||||
| All aspects of the URLs must be identical for them to match, including any parameters, | All aspects of the URLs must be identical for them to match, including any parameters, | ||||
| @@ -116,9 +116,6 @@ struct SIMDRegister | |||||
| /** Constructs an object from a scalar type by broadcasting it to all elements. */ | /** Constructs an object from a scalar type by broadcasting it to all elements. */ | ||||
| inline SIMDRegister (Type s) noexcept { *this = s; } | inline SIMDRegister (Type s) noexcept { *this = s; } | ||||
| /** Destructor. */ | |||||
| inline ~SIMDRegister() noexcept = default; | |||||
| //============================================================================== | //============================================================================== | ||||
| /** Returns the number of elements in this vector. */ | /** Returns the number of elements in this vector. */ | ||||
| static constexpr size_t size() noexcept { return SIMDNumElements; } | static constexpr size_t size() noexcept { return SIMDNumElements; } | ||||
| @@ -93,6 +93,7 @@ protected: | |||||
| struct SavedState | struct SavedState | ||||
| { | { | ||||
| SavedState(); | SavedState(); | ||||
| SavedState (const SavedState&) = default; | |||||
| SavedState& operator= (const SavedState&) = delete; | SavedState& operator= (const SavedState&) = delete; | ||||
| RectangleList<int> clip; | RectangleList<int> clip; | ||||
| @@ -166,8 +166,6 @@ public: | |||||
| #ifndef DOXYGEN | #ifndef DOXYGEN | ||||
| /** @internal */ | /** @internal */ | ||||
| void refresh(); | void refresh(); | ||||
| /** @internal */ | |||||
| ~Displays() = default; | |||||
| [[deprecated ("Use the getDisplayForPoint or getDisplayForRect methods instead " | [[deprecated ("Use the getDisplayForPoint or getDisplayForRect methods instead " | ||||
| "as they can deal with converting between logical and physical pixels.")]] | "as they can deal with converting between logical and physical pixels.")]] | ||||
| @@ -1748,6 +1748,7 @@ private: | |||||
| deltaAngle = fmod (deltaAngle, MathConstants<double>::twoPi); | deltaAngle = fmod (deltaAngle, MathConstants<double>::twoPi); | ||||
| } | } | ||||
| SVGState (const SVGState&) = default; | |||||
| SVGState& operator= (const SVGState&) = delete; | SVGState& operator= (const SVGState&) = delete; | ||||
| }; | }; | ||||