Skip to content

Commit 1c56186

Browse files
committed
[C++] Correct spelling of __cplusplus macro. Issue #824.
1 parent 6a9d453 commit 1c56186

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
@@ -2977,7 +2977,7 @@ private CharSequence generateMessageLength(final List<Token> groups, final List<
29772977
indent + " }\n\n" +
29782978
indent + " for (const auto &e: %1$sItemLengths)\n" +
29792979
indent + " {\n" +
2980-
indent + " #if __cpluplus >= 201703L\n" +
2980+
indent + " #if __cplusplus >= 201703L\n" +
29812981
indent + " length += std::apply(%2$s::computeLength, e);\n" +
29822982
indent + " #else\n" +
29832983
indent + " length += %2$s::computeLength(%6$s);\n" +

0 commit comments

Comments
 (0)