Skip to content

Commit 11c9acc

Browse files
committed
Add getter for data member
1 parent 8c35211 commit 11c9acc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/goto-diff/unified_diff.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -396,3 +396,8 @@ void unified_difft::output(std::ostream &os) const
396396
os);
397397
}
398398
}
399+
400+
const unified_difft::differences_mapt &unified_difft::differences_map() const
401+
{
402+
return differences_map_;
403+
}

src/goto-diff/unified_diff.h

+2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ class unified_difft
103103
false));
104104
}
105105

106+
const differences_mapt &differences_map() const;
107+
106108
private:
107109
differences_mapt differences_map_;
108110
};

0 commit comments

Comments
 (0)