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) {