Skip to content

Commit e32c6c5

Browse files
committed
Make instructions_equal static
1 parent f815cc0 commit e32c6c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/goto-diff/unified_diff.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ void unified_difft::output(std::ostream &os) const
401401
bool unified_difft::instructions_equal(
402402
const goto_programt::instructiont &ins1,
403403
const goto_programt::instructiont &ins2,
404-
bool recurse) const
404+
bool recurse)
405405
{
406406
return
407407
ins1.code==ins2.code &&

src/goto-diff/unified_diff.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ class unified_difft
8585
const differencest &differences,
8686
std::ostream &os) const;
8787

88-
bool instructions_equal(
88+
static bool instructions_equal(
8989
const goto_programt::instructiont &ins1,
9090
const goto_programt::instructiont &ins2,
91-
bool recurse=true) const;
91+
bool recurse=true);
9292

9393
const differences_mapt &differences_map() const;
9494

0 commit comments

Comments
 (0)