Skip to content

Commit

Permalink
[Cpp] Constant presence field should also be not be SBE_NOEXCEPT for …
Browse files Browse the repository at this point in the history
…compatibility with schema change. PR #806.
  • Loading branch information
mjpt777 committed Jul 23, 2020
1 parent 34ac31b commit 2e4063e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@ private void generateEnumProperty(
constValue.substring(constValue.indexOf(".") + 1));

new Formatter(sb).format("\n" +
indent + " SBE_NODISCARD %1$s::Value %2$s() const SBE_NOEXCEPT\n" +
indent + " SBE_NODISCARD %1$s::Value %2$s() const\n" +
indent + " {\n" +
"%3$s" +
indent + " return %1$s::Value::%4$s;\n" +
Expand Down

0 comments on commit 2e4063e

Please sign in to comment.