diff --git a/backend/CassandraBackend.h b/backend/CassandraBackend.h index 44683ab5c..4f9585302 100644 --- a/backend/CassandraBackend.h +++ b/backend/CassandraBackend.h @@ -906,7 +906,9 @@ public: { BOOST_LOG_TRIVIAL(trace) << __func__; CassandraStatement statement{selectLatestLedger_}; + std::cout << "READ" << std::endl; CassandraResult result = executeSyncRead(statement); + std::cout << "ITS THE READ" << std::endl; if (!result.hasResult()) { BOOST_LOG_TRIVIAL(error) diff --git a/server/PlainWsSession.h b/server/PlainWsSession.h index 5b1200368..ff68dd8b8 100644 --- a/server/PlainWsSession.h +++ b/server/PlainWsSession.h @@ -69,6 +69,8 @@ public: { } + ~WsSession() = default; + void send(std::string&& msg) { diff --git a/server/SslWsSession.h b/server/SslWsSession.h index 74e03df11..a17a362b2 100644 --- a/server/SslWsSession.h +++ b/server/SslWsSession.h @@ -251,6 +251,8 @@ public: , buffer_(std::move(b)) {} + ~SslWsUpgrader() = default; + void run() { diff --git a/server/WsBase.h b/server/WsBase.h index 6f06a37b1..f26c940c2 100644 --- a/server/WsBase.h +++ b/server/WsBase.h @@ -22,5 +22,7 @@ public: virtual void send(std::string&& msg) = 0; + virtual + ~WsBase() {} }; #endif // RIPPLE_REPORTING_WS_BASE_SESSION_H \ No newline at end of file diff --git a/server/websocket_server_async.cpp b/server/websocket_server_async.cpp index efac5cece..ff2a0f214 100644 --- a/server/websocket_server_async.cpp +++ b/server/websocket_server_async.cpp @@ -138,6 +138,8 @@ start(boost::asio::io_context& ioc, std::uint32_t numThreads) v.reserve(numThreads - 1); for (auto i = numThreads - 1; i > 0; --i) v.emplace_back([&ioc] { ioc.run(); }); + + ioc.run(); } int