Skip to content

Commit 2e4063e

Browse files
committed
[Cpp] Constant presence field should also be not be SBE_NOEXCEPT for compatibility with schema change. PR #806.
1 parent 34ac31b commit 2e4063e

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
@@ -2251,7 +2251,7 @@ private void generateEnumProperty(
22512251
constValue.substring(constValue.indexOf(".") + 1));
22522252

22532253
new Formatter(sb).format("\n" +
2254-
indent + " SBE_NODISCARD %1$s::Value %2$s() const SBE_NOEXCEPT\n" +
2254+
indent + " SBE_NODISCARD %1$s::Value %2$s() const\n" +
22552255
indent + " {\n" +
22562256
"%3$s" +
22572257
indent + " return %1$s::Value::%4$s;\n" +

0 commit comments

Comments
 (0)