X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..bec5d17c77e9cfc8482ffca062b8f500859bfe34:/stargazer/corps_impl.cpp?ds=inline diff --git a/stargazer/corps_impl.cpp b/stargazer/corps_impl.cpp index 098acaca..3fe3f572 100644 --- a/stargazer/corps_impl.cpp +++ b/stargazer/corps_impl.cpp @@ -111,7 +111,7 @@ while (csi != searchDescriptors.end()) ++csi; } -data.remove(*si); +data.erase(si); if (store->DelCorp(name) < 0) { strError = "Corporation \'" + name + "\' was not deleted. Error: " + store->GetStrError();