fix Issue 10592 - Regression of overloaded template function
Merge pull request #2332 from 9rnsr/fix10592

[REG2.064a] Issue 10592 - Regression of overloaded template function