From 51cb0e53b1d4b88bbe36bb3c1f048b43d7511dcc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 25 Apr 2021 18:07:08 +0200 Subject: [PATCH] Use wxMEMBER_DELETE instead of "Disabled" comment No real changes, but this is more clear and should result in better error messages. --- include/wx/strvararg.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/strvararg.h b/include/wx/strvararg.h index a565079771..95f2369263 100644 --- a/include/wx/strvararg.h +++ b/include/wx/strvararg.h @@ -295,7 +295,7 @@ struct wxFormatStringArgumentFinder : public wxFormatStringArgumentFinder { #ifdef wxNO_IMPLICIT_WXSTRING_ENCODING private: - wxFormatStringArgumentFinder(); // Disabled + wxFormatStringArgumentFinder() wxMEMBER_DELETE; #endif // wxNO_IMPLICIT_WXSTRING_ENCODING }; @@ -308,7 +308,7 @@ struct wxFormatStringArgumentFinder : public wxFormatStringArgumentFinder { #ifdef wxNO_IMPLICIT_WXSTRING_ENCODING private: - wxFormatStringArgumentFinder(); // Disabled + wxFormatStringArgumentFinder() wxMEMBER_DELETE; #endif // wxNO_IMPLICIT_WXSTRING_ENCODING }; @@ -409,7 +409,7 @@ struct wxFormatStringSpecifier template<> struct wxFormatStringSpecifier \ { \ private: \ - wxFormatStringSpecifier(); /* Disabled */ \ + wxFormatStringSpecifier() wxMEMBER_DELETE; \ }; wxFORMAT_STRING_SPECIFIER(bool, wxFormatString::Arg_Int)