Skip to content

Commit 1aef658

Browse files
committed
[C++] Replace trivial String.format.
1 parent c2fb2c4 commit 1aef658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ private static CharSequence generateFileHeader(
11361136
sb.append("\n");
11371137
for (final String incName : typesToInclude)
11381138
{
1139-
sb.append(String.format("#include \"%1$s.h\"\n", toUpperFirstChar(incName)));
1139+
sb.append("#include \"").append(toUpperFirstChar(incName)).append(".h\"\n");
11401140
}
11411141
}
11421142

0 commit comments

Comments
 (0)