Don't use non-existent template class name in a comment

Try to avoid confusing people looking at this comment by not referring
to a template class which doesn't exist any longer.

No real changes.
This commit is contained in:
Vadim Zeitlin 2022-10-28 19:38:07 +01:00
parent 37418eed8e
commit a588e9a20e

View file

@ -490,8 +490,8 @@ wxString wxClass::GetNameWithoutTemplate() const
bool wxClass::IsValidCtorForThisClass(const wxMethod& m) const
{
// remember that e.g. the ctor for wxWritableCharTypeBuffer<wchar_t> is
// named wxWritableCharTypeBuffer, without the <...> part!
// remember that e.g. the ctor for wxScopedCharBuffer<wchar_t> is
// named wxScopedCharBuffer, without the <...> part!
if (m.IsCtor() && m.GetName() == GetNameWithoutTemplate())
return true;