fix Issue 8669 - TemplateThisParameter should change member function's qualifier
Merge pull request #1121 from 9rnsr/fix8669

[enh] Issue 8669 - TemplateThisParameter should change member function's qualifier