remove a const qualifier in a method's return type