This doesn't depend on class state at all, so this can be made internal. While we're at it, amend the function to take its arguments by const reference.
This doesn't depend on class state at all, so this can be made internal. While we're at it, amend the function to take its arguments by const reference.