X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/12b88fa193a36e0d4ed35b1912e5cf1dfe633ce6..0aa5d347a234d6a636ae481564ac537c8f32a917:/stargazer/corps_impl.cpp?ds=sidebyside 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();