Fix C++11 compilation.

- one return type deduction