Skip to content

Commit

Permalink
Merge pull request #5524 from NlightNFotis/fix_macos_build
Browse files Browse the repository at this point in the history
Introduce reference to avoid unneeded copy.
  • Loading branch information
NlightNFotis authored Oct 15, 2020
2 parents 31f73e1 + 0559972 commit 8fae794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbmc/src/java_bytecode/lambda_synthesis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ get_interface_methods(const irep_idt &interface_id, const namespacet &ns)
{
const methods_by_name_and_descriptort base_methods =
get_interface_methods(base.type().get_identifier(), ns);
for(const auto base_method : base_methods)
for(const auto &base_method : base_methods)
{
if(base_method.second)
{
Expand Down

0 comments on commit 8fae794

Please sign in to comment.