diff --git a/src/ripple/test/AbstractClient.h b/src/ripple/test/AbstractClient.h index d11c7a700..d15cea8ba 100644 --- a/src/ripple/test/AbstractClient.h +++ b/src/ripple/test/AbstractClient.h @@ -34,6 +34,9 @@ class AbstractClient { public: virtual ~AbstractClient() = default; + AbstractClient() = default; + AbstractClient(AbstractClient const&) = delete; + AbstractClient& operator=(AbstractClient const&) = delete; /** Submit a command synchronously. diff --git a/src/ripple/test/impl/WSClient.cpp b/src/ripple/test/impl/WSClient.cpp index 856d0f2cd..db1eda05c 100644 --- a/src/ripple/test/impl/WSClient.cpp +++ b/src/ripple/test/impl/WSClient.cpp @@ -297,7 +297,7 @@ private: void on_read_done() { - std::lock_guard lock(m_); + std::lock_guard lock(m0_); b0_ = true; cv0_.notify_all(); }