2f2ab9b5bc
These member functions don't actually modify the input parameter, so we can make this explicit with the use of const.