From ad73219104eccfa2a6228f1adcb558e18ef6f0c3 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 18 Oct 2020 18:00:13 -0700 Subject: [PATCH] Avoid -Wdeprecated-copy warning --- include/wx/osx/core/cfdictionary.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/wx/osx/core/cfdictionary.h b/include/wx/osx/core/cfdictionary.h index d3028e90c7..b516240fe1 100644 --- a/include/wx/osx/core/cfdictionary.h +++ b/include/wx/osx/core/cfdictionary.h @@ -56,10 +56,7 @@ public: @discussion Ownership will be shared by the original ref and the newly created ref. That is, the object will be explicitly retained by this new ref. */ - wxCFDictionaryRefCommon(const wxCFDictionaryRefCommon& otherRef) - : super_type(otherRef) - { - } + wxCFDictionaryRefCommon(const wxCFDictionaryRefCommon&) = default; wxCFTypeRef GetValue(const void* key) {