rsocket-cpp icon indicating copy to clipboard operation
rsocket-cpp copied to clipboard

clang errors and warnings

Open yurivict opened this issue 5 years ago • 0 comments

Errors:

In file included from /usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/RSocket.cpp:15:
In file included from /usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/RSocket.h:17:
/usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/RSocketClient.h:44:18: error: explicitly defaulted move assignment operator is implicitly deleted [-Werror,-Wdefaulted-function-deleted]
  RSocketClient& operator=(RSocketClient&&) = default;
                 ^

Please fix this and other clang warnings:

In file included from /usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/benchmarks/StreamThroughputMemory.cpp:24:
In file included from /usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/RSocket.h:17:
/usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/RSocketClient.h:44:18: warning: explicitly defaulted move assignment operator is implicitly deleted [-Wdefaulted-function-deleted]
  RSocketClient& operator=(RSocketClient&&) = default;
                 ^
/usr/ports/net/rsocket-cpp/work/rsocket-cpp-0.10.0-942-g3d878b1e/rsocket/RSocketClient.h:95:44: note: move assignment operator of 'RSocketClient' is implicitly deleted because field 'connectionFactory_' has no move assignment operator
  const std::shared_ptr<ConnectionFactory> connectionFactory_;
                                           ^
1 warning generated.

yurivict avatar Jun 17 '19 00:06 yurivict