]> git.stg.codes - stg.git/blobdiff - stargazer/corps_impl.cpp
Lower C++ version, minmal GCC version, compiler-related flags.
[stg.git] / stargazer / corps_impl.cpp
index 098acacac1b9f7ec6761d19751b1431b321e3c6d..3fe3f57204a665ebc1fc19d4fb06094e02ac3a0c 100644 (file)
@@ -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();