Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Romain De Laage De Bellefaye
LO21-projet
Commits
0ba65699
Verified
Commit
0ba65699
authored
Jun 11, 2021
by
Romain De Laage De Bellefaye
🌳
Browse files
useless const_cast
parent
61c7f73a
Pipeline
#79683
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/autosql.cpp
View file @
0ba65699
...
...
@@ -276,7 +276,7 @@ void Database::saveAutomaton(const Automate& a) const {
query
.
exec
();
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
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment