Skip to content

Commit 810cc2a

Browse files
committed
Declare collect_deref_expr as static
This makes it clear from reading the `.cpp` file only that this function is not part of the external API and is used within this file only.
1 parent 60e3f91 commit 810cc2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/mm_io.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Date: April 2017
2323

2424
#include <set>
2525

26-
std::set<dereference_exprt> collect_deref_expr(const exprt &src)
26+
static std::set<dereference_exprt> collect_deref_expr(const exprt &src)
2727
{
2828
std::set<dereference_exprt> collected;
2929
src.visit_pre([&collected](const exprt &e) {

0 commit comments

Comments
 (0)