X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..0aa5d347a234d6a636ae481564ac537c8f32a917:/stargazer/corps_impl.cpp 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();