X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..bec5d17c77e9cfc8482ffca062b8f500859bfe34:/stargazer/services_impl.cpp?ds=sidebyside diff --git a/stargazer/services_impl.cpp b/stargazer/services_impl.cpp index 109a327b..216fc645 100644 --- a/stargazer/services_impl.cpp +++ b/stargazer/services_impl.cpp @@ -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();