Skip to content

Commit f2122c6

Browse files
Correct signature of convert_exprt_to_string_exprt_unit_test
1 parent 9edbb90 commit f2122c6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/java_bytecode/java_string_library_preprocess.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,13 @@ class java_string_library_preprocesst:public messaget
176176
symbol_tablet &symbol_table,
177177
code_blockt &init_code);
178178

179-
friend exprt convert_exprt_to_string_exprt_unit_test(
180-
java_string_library_preprocesst &preprocess,
181-
const exprt &deref,
182-
const source_locationt &loc,
183-
symbol_tablet &symbol_table,
184-
code_blockt &init_code);
179+
// Friending this function for unit testing convert_exprt_to_string_exprt
180+
friend refined_string_exprt convert_exprt_to_string_exprt_unit_test(
181+
java_string_library_preprocesst &preprocess,
182+
const exprt &deref,
183+
const source_locationt &loc,
184+
symbol_tablet &symbol_table,
185+
code_blockt &init_code);
185186

186187
refined_string_exprt convert_exprt_to_string_exprt(
187188
const exprt &deref,

0 commit comments

Comments
 (0)