Fixed a GCC compiler warning with poly_map.