Skip to content

Commit d22e085

Browse files
committed
[C++] Remove move constructor and move assignment operator.
The copy versions are defined to be the same implementation. C++11 and onward falls back to copying where move methods are not defined.
1 parent a56d6af commit d22e085

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

sbe-tool/src/main/java/uk/co/real_logic/sbe/generation/cpp/CppGenerator.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1455,17 +1455,6 @@ private static CharSequence generateConstructorsAndOperators(final String classN
14551455
" {\n" +
14561456
" reset(codec);\n" +
14571457
" }\n\n" +
1458-
"#if __cplusplus >= 201103L\n" +
1459-
" %1$s(%1$s&& codec)\n" +
1460-
" {\n" +
1461-
" reset(codec);\n" +
1462-
" }\n\n" +
1463-
" %1$s& operator=(%1$s&& codec)\n" +
1464-
" {\n" +
1465-
" reset(codec);\n" +
1466-
" return *this;\n" +
1467-
" }\n\n" +
1468-
"#endif\n\n" +
14691458
" %1$s& operator=(const %1$s& codec)\n" +
14701459
" {\n" +
14711460
" reset(codec);\n" +

0 commit comments

Comments
 (0)