fix Issue 8669 - TemplateThisParameter should change member function's qualifier