Commit 3416d4fa authored by Leon Do Castelo's avatar Leon Do Castelo
Browse files

CONST_CAST aaaaaaaaaaaaaa

parent 6179f8c3
Pipeline #79653 passed with stage
in 15 seconds
......@@ -274,7 +274,7 @@ void Database::saveAutomaton(const Automate& a) const {
query.exec();
saveFunction(a.getTitle().c_str(), a.getFonction());
saveVoisinage(a.getTitle().c_str(), a.getRegleVoisinage());
saveVoisinage(a.getTitle().c_str(), const_cast<RegleVoisinage&>(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