const-refify map && veh has_flag(string) functions