Skip to content

Commit fe196d3

Browse files
romainbrenguierPetr Bauch
authored and
Petr Bauch
committed
Add missing static in string preprocessing
No functional changes
1 parent e23d216 commit fe196d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jbmc/src/java_bytecode/java_string_library_preprocess.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Date: April 2017
3333

3434
/// \return tag of a struct prefixed by "java::" or symbolic tag
3535
/// empty string if not symbol or struct
36-
irep_idt get_tag(const typet &type)
36+
static irep_idt get_tag(const typet &type)
3737
{
3838
/// \todo Use follow instead of assuming tag to symbol relationship.
3939
if(type.id() == ID_symbol_type)
@@ -169,7 +169,7 @@ bool java_string_library_preprocesst::is_java_char_array_pointer_type(
169169
}
170170

171171
/// \return the type of the length field in java Strings.
172-
typet string_length_type()
172+
static typet string_length_type()
173173
{
174174
return java_int_type();
175175
}

0 commit comments

Comments
 (0)