Revert default-member changes, only keep and use wxHAS_MEMBER_DEFAULT
This commit is contained in:
@@ -267,7 +267,9 @@ public:
|
||||
wxUniCharRef& operator=(const wxUniCharRef& c)
|
||||
{ if (&c != this) *this = c.UniChar(); return *this; }
|
||||
|
||||
wxDECLARE_DEFAULT_COPY_CTOR(wxUniCharRef);
|
||||
#ifdef wxHAS_MEMBER_DEFAULT
|
||||
wxUniCharRef(const wxUniCharRef&) = default;
|
||||
#endif
|
||||
|
||||
#define wxUNICHAR_REF_DEFINE_OPERATOR_EQUAL(type) \
|
||||
wxUniCharRef& operator=(type c) { return *this = wxUniChar(c); }
|
||||
|
Reference in New Issue
Block a user