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:
parent
7f246330de
commit
51cb0e53b1
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue