]> git.stg.codes - stg.git/blobdiff - stargazer/services_impl.cpp
Remove some more std::list.
[stg.git] / stargazer / services_impl.cpp
index 109a327bbe1e5b500fd656b139b2559449787aa3..216fc64559b12555c43bb31d196a160742ca3ec0 100644 (file)
@@ -110,7 +110,7 @@ while (csi != searchDescriptors.end())
     ++csi;
     }
 
-data.remove(*si);
+data.erase(si);
 if (store->DelService(name) < 0)
     {
     strError = "Service \'" + name + "\' was not deleted. Error: " + store->GetStrError();