Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang errors and warnings #889

Open
yurivict opened this issue Jun 17, 2019 · 0 comments
Open

clang errors and warnings #889

yurivict opened this issue Jun 17, 2019 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Jun 17, 2019

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 yurivict changed the title clang warnings clang errors and warnings Jun 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant