We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcca604 commit 7e91b33Copy full SHA for 7e91b33
src/util/std_expr.h
@@ -1825,13 +1825,13 @@ class struct_exprt:public exprt
1825
}
1826
1827
/// \return The expression for a named component of this struct.
1828
- exprt &component(const irep_idt name)
+ exprt &component(const irep_idt &name)
1829
{
1830
return operands()[to_struct_type(type()).component_number(name)];
1831
1832
1833
1834
- const exprt &component(const irep_idt name) const
+ const exprt &component(const irep_idt &name) const
1835
1836
1837
0 commit comments