Skip to content

Commit 8c35211

Browse files
committed
Make data member private
1 parent f54db47 commit 8c35211

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/goto-diff/unified_diff.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ class unified_difft
5353
const irep_idt &function,
5454
goto_program_difft &dest) const;
5555

56-
protected:
5756
const goto_functionst &old_goto_functions;
5857
const namespacet ns_old;
5958
const goto_functionst &new_goto_functions;
@@ -62,8 +61,6 @@ class unified_difft
6261
typedef std::vector<differencet> differencest;
6362
typedef std::map<irep_idt, differencest> differences_mapt;
6463

65-
differences_mapt differences_map_;
66-
6764
void unified_diff(
6865
const irep_idt &identifier,
6966
const goto_programt &old_goto_program,
@@ -105,6 +102,9 @@ class unified_difft
105102
*ins2.get_target(),
106103
false));
107104
}
105+
106+
private:
107+
differences_mapt differences_map_;
108108
};
109109

110110
#endif // CPROVER_GOTO_DIFF_UNIFIED_DIFF_H

0 commit comments

Comments
 (0)