mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
clang-tidy: modernize-use-equals-default
This commit is contained in:
@@ -92,7 +92,7 @@ WebSocket::WebSocket(uv::Stream& stream, bool server, const private_init&)
|
||||
[this]() { Terminate(1006, "remote end closed connection"); });
|
||||
}
|
||||
|
||||
WebSocket::~WebSocket() {}
|
||||
WebSocket::~WebSocket() = default;
|
||||
|
||||
std::shared_ptr<WebSocket> WebSocket::CreateClient(
|
||||
uv::Stream& stream, const Twine& uri, const Twine& host,
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace uv {
|
||||
*/
|
||||
class Error {
|
||||
public:
|
||||
Error() {}
|
||||
Error() = default;
|
||||
explicit Error(int err) : m_err(err) {}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user