Verified Commit 0ba65699 authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

useless const_cast

parent 61c7f73a
Pipeline #79683 passed with stage
in 16 seconds
......@@ -276,7 +276,7 @@ void Database::saveAutomaton(const Automate& a) const {
saveFunction(a.getTitle().c_str(), a.getFonction());
saveVoisinage(a.getTitle().c_str(), const_cast<RegleVoisinage&>(a.getRegleVoisinage()));
saveVoisinage(a.getTitle().c_str(), a.getRegleVoisinage());
stockerReseau(a.getReseauInit(), "To be determined", a.getTitle().c_str());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment