[ros-diffs] [weiden] 27111: convert a switch statement with a range to an if statement (msvc compatibility)