Fix the position of '}' at the begining of inline template functions so that their style can be the same.