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:
parent
37418eed8e
commit
a588e9a20e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue