From cb5609df68e13ee710961af7252aec3d1cd1a964 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Fri, 25 Apr 2014 14:52:57 -0700 Subject: [PATCH] fixed compile errors in obd2 plugin --- plugins/obd2plugin/obd2source.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/obd2plugin/obd2source.cpp b/plugins/obd2plugin/obd2source.cpp index 50d338d..12a2026 100644 --- a/plugins/obd2plugin/obd2source.cpp +++ b/plugins/obd2plugin/obd2source.cpp @@ -464,7 +464,7 @@ static int updateProperties( gpointer data) /// Remove support for this pid: PropertyList list = src->supported(); - list.remove(reply->property); + removeOne(&list, reply->property); src->setSupported(list); } else @@ -679,7 +679,7 @@ void OBD2Source::subscribeToPropertyChanges(VehicleProperty::Property property) } else { - if(!ListPlusPlus(&m_supportedProperties).contains(property)) + if(!contains(m_supportedProperties, property)) { DebugOut(0)<<"obd plugin does not support: "<(&m_supportedProperties).contains(property)) + if(!contains(m_supportedProperties, property)) { DebugOut(0)<<"obd plugin does not support: "<property; - if(!ListPlusPlus(&m_supportedProperties).contains(property)) + if(!contains(m_supportedProperties, property)) { DebugOut(0)<<"obd plugin does not support: "<