Skip to content

Commit 0d29bb9

Browse files
committed
Removing const from method params
1 parent 09254a9 commit 0d29bb9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/goto-checker/symex_bmc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void symex_bmct::symex_step(
8686
}
8787
}
8888

89-
void symex_bmct::merge_goto(const goto_statet &goto_state, statet &state)
89+
void symex_bmct::merge_goto(goto_statet &goto_state, statet &state)
9090
{
9191
const goto_programt::const_targett prev_pc = goto_state.source.pc;
9292
const guardt prev_guard = goto_state.guard;

src/goto-checker/symex_bmc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class symex_bmct : public goto_symext
9494
void symex_step(const get_goto_functiont &get_goto_function, statet &state)
9595
override;
9696

97-
void merge_goto(const goto_statet &goto_state, statet &state) override;
97+
void merge_goto(goto_statet &goto_state, statet &state) override;
9898

9999
bool should_stop_unwind(
100100
const symex_targett::sourcet &source,

src/goto-symex/goto_symex.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,11 @@ class goto_symext
235235
// gotos
236236
void merge_gotos(statet &);
237237

238-
virtual void merge_goto(const goto_statet &goto_state, statet &);
238+
virtual void merge_goto(goto_statet &goto_state, statet &);
239239

240-
void merge_value_sets(const goto_statet &goto_state, statet &dest);
240+
void merge_value_sets(goto_statet &goto_state, statet &dest);
241241

242-
void phi_function(const goto_statet &goto_state, statet &);
242+
void phi_function(goto_statet &goto_state, statet &);
243243

244244
// determine whether to unwind a loop -- true indicates abort,
245245
// with false we continue.

src/goto-symex/symex_goto.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ void goto_symext::merge_gotos(statet &state)
318318
frame.goto_state_map.erase(state_map_it);
319319
}
320320

321-
void goto_symext::merge_goto(const goto_statet &goto_state, statet &state)
321+
void goto_symext::merge_goto(goto_statet &goto_state, statet &state)
322322
{
323323
// check atomic section
324324
if(state.atomic_section_id != goto_state.atomic_section_id)
@@ -338,7 +338,7 @@ void goto_symext::merge_goto(const goto_statet &goto_state, statet &state)
338338
state.depth=std::min(state.depth, goto_state.depth);
339339
}
340340

341-
void goto_symext::merge_value_sets(const goto_statet &src, statet &dest)
341+
void goto_symext::merge_value_sets(goto_statet &src, statet &dest)
342342
{
343343
if(dest.guard.is_false())
344344
{

0 commit comments

Comments
 (0)