aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir/tree/rust-hir-visitor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/hir/tree/rust-hir-visitor.cc')
-rw-r--r--gcc/rust/hir/tree/rust-hir-visitor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/hir/tree/rust-hir-visitor.cc b/gcc/rust/hir/tree/rust-hir-visitor.cc
index ece47eb..77b96e5 100644
--- a/gcc/rust/hir/tree/rust-hir-visitor.cc
+++ b/gcc/rust/hir/tree/rust-hir-visitor.cc
@@ -547,7 +547,7 @@ void
DefaultHIRVisitor::walk (InlineAsm &expr)
{
visit_outer_attrs (expr);
- const auto &operands = expr.get_operands ();
+ auto &operands = expr.get_operands ();
using RegisterType = AST::InlineAsmOperand::RegisterType;
for (auto &operand : operands)
{