Skip to content

Commit f60a001

Browse files
committed
Fix compiler warning about polymorphic exception
Use a const reference to make GCC happy.
1 parent f2733dc commit f60a001

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)