Use wxMEMBER_DELETE instead of "Disabled" comment

No real changes, but this is more clear and should result in better
error messages.
This commit is contained in:
Vadim Zeitlin
2021-04-25 18:07:08 +02:00
parent 7f246330de
commit 51cb0e53b1

View File

@@ -295,7 +295,7 @@ struct wxFormatStringArgumentFinder<wxScopedCharBuffer>
: public wxFormatStringArgumentFinder<const wxScopedCharBuffer&> {
#ifdef wxNO_IMPLICIT_WXSTRING_ENCODING
private:
wxFormatStringArgumentFinder(); // Disabled
wxFormatStringArgumentFinder() wxMEMBER_DELETE;
#endif // wxNO_IMPLICIT_WXSTRING_ENCODING
};
@@ -308,7 +308,7 @@ struct wxFormatStringArgumentFinder<wxCharBuffer>
: public wxFormatStringArgumentFinder<const wxCharBuffer&> {
#ifdef wxNO_IMPLICIT_WXSTRING_ENCODING
private:
wxFormatStringArgumentFinder(); // Disabled
wxFormatStringArgumentFinder() wxMEMBER_DELETE;
#endif // wxNO_IMPLICIT_WXSTRING_ENCODING
};
@@ -409,7 +409,7 @@ struct wxFormatStringSpecifier<const T*>
template<> struct wxFormatStringSpecifier<T> \
{ \
private: \
wxFormatStringSpecifier(); /* Disabled */ \
wxFormatStringSpecifier() wxMEMBER_DELETE; \
};
wxFORMAT_STRING_SPECIFIER(bool, wxFormatString::Arg_Int)