summaryrefslogtreecommitdiff
path: root/passes/cmds/select.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-02-08 19:06:16 +0100
committerClifford Wolf <clifford@clifford.at>2015-02-08 19:06:16 +0100
commitbcd8a2fc567e0bbc1b04467ac7a3b32ed332f7f3 (patch)
treeee6ea78258f5e379c878f5ecd910b6d7fac386dd /passes/cmds/select.cc
parent09ee65a050ffc8fe1a208140cce32a6a5f15c4ab (diff)
Fixed eval_select_op() api
Diffstat (limited to 'passes/cmds/select.cc')
-rw-r--r--passes/cmds/select.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc
index f8cfa9ce..247765f0 100644
--- a/passes/cmds/select.cc
+++ b/passes/cmds/select.cc
@@ -839,7 +839,7 @@ RTLIL::Selection eval_select_args(const vector<string> &args, RTLIL::Design *des
}
// extern decl. in register.h
-void eval_select_op(vector<RTLIL::Selection> &work, string &op, RTLIL::Design *design)
+void eval_select_op(vector<RTLIL::Selection> &work, const string &op, RTLIL::Design *design)
{
work_stack.swap(work);
select_stmt(design, op);