Skip to content

Commit 5d23f21

Browse files
authored
Merge pull request #4662 from tautschnig/exception-fix
Fix compiler warning about polymorphic exception
2 parents f2733dc + f60a001 commit 5d23f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memory-analyzer/analyze_symbol.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void gdb_value_extractort::analyze_symbol(const irep_idt &symbol_name)
6464

6565
add_assignment(symbol_expr, target_expr);
6666
}
67-
catch(gdb_interaction_exceptiont e)
67+
catch(const gdb_interaction_exceptiont &e)
6868
{
6969
throw analysis_exceptiont(e.what());
7070
}

0 commit comments

Comments
 (0)