fix windows build break for #3667, const_iterator needed
===VersionHistory:None===