We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b1a8a commit f13e278Copy full SHA for f13e278
sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java
@@ -289,7 +289,7 @@ private static void generateGroupClassHeader(
289
indent + " }\n\n",
290
dimensionHeaderLength, blockLength, formatClassName(groupName)));
291
292
- sb.append(String.format(
+ sb.append(
293
indent + "#if __cplusplus < 201103L\n" +
294
indent + " template<class Func> inline void forEach(Func& func)\n" +
295
indent + " {\n" +
@@ -306,7 +306,7 @@ private static void generateGroupClassHeader(
306
indent + " next(); func(*this);\n" +
307
indent + " }\n" +
308
indent + " }\n\n" +
309
- indent + "#endif\n\n"));
+ indent + "#endif\n\n");
310
}
311
312
private static CharSequence generateGroupProperty(
0 commit comments