Skip to content

Commit 0fc9263

Browse files
committed
[C++] Raw access can be noexcept.
1 parent b2b30ce commit 0fc9263

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
@@ -2287,7 +2287,7 @@ private void generateEnumProperty(
22872287
constValue.substring(constValue.indexOf(".") + 1));
22882288

22892289
new Formatter(sb).format("\n" +
2290-
indent + " SBE_NODISCARD %1$s %2$sRaw() const\n" +
2290+
indent + " SBE_NODISCARD %1$s %2$sRaw() const SBE_NOEXCEPT\n" +
22912291
indent + " {\n" +
22922292
indent + " return static_cast<%1$s>(%3$s::Value::%4$s);\n" +
22932293
indent + " }\n",

0 commit comments

Comments
 (0)