Skip to content

Commit 0e550fd

Browse files
committed
[C++] sbePosition() method should be SBE_NOEXCEPT.
1 parent d953eba commit 0e550fd

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
@@ -291,7 +291,7 @@ private static void generateGroupClassHeader(
291291
indent + " return %2$d;\n" +
292292
indent + " }\n\n" +
293293

294-
indent + " SBE_NODISCARD std::uint64_t sbePosition() const\n" +
294+
indent + " SBE_NODISCARD std::uint64_t sbePosition() const SBE_NOEXCEPT\n" +
295295
indent + " {\n" +
296296
indent + " return *m_positionPtr;\n" +
297297
indent + " }\n\n" +

0 commit comments

Comments
 (0)