use ZoneList for zones
[profile/ivi/ico-vic-amb-plugin.git] / src / ambinterface.cc
index d22d900..5106639 100644 (file)
@@ -76,7 +76,6 @@ create(AbstractRoutingEngine* routingengine, map<string, string> config)
     }
     return ambif;
 }
-
 AMBIF::AMBIF(AbstractRoutingEngine *engine,
              std::map<std::string, std::string> config) :
         AbstractSource(engine, config)
@@ -426,11 +425,11 @@ AMBIF::find(std::string propertyName)
 }
 
 #if LATER1024
-PropertyInfo AMBIF::getPropertyInfo(VehicleProperty::Property property) {
+PropertyInfo AMBIF::getPropertyInfo(const VehicleProperty::Property & property) {
     if (propertyInfoMap.find(property) != propertyInfoMap.end()) {
         return propertyInfoMap[property];
     }
-    std::list<Zone::Type> zones;
+    Zone::ZoneList zones;
     AMBVehicleInfo vi;
     vi.name = property;
     std::vector<AMBVehicleInfo>::iterator itr, itr_idx, itr_end;