Merge pull request #10668 from Dentomologist/convert_pointerwrap_mode_to_enum_class Convert PointerWrap::Mode to enum class