mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 16:26:48 +00:00
removes un-thread-safe access to cout
This commit is contained in:
@@ -85,7 +85,7 @@ public:
|
||||
: m_external_io_service(false)
|
||||
, m_state(UNINITIALIZED)
|
||||
{
|
||||
std::cout << "transport::asio::endpoint constructor" << std::endl;
|
||||
//std::cout << "transport::asio::endpoint constructor" << std::endl;
|
||||
}
|
||||
|
||||
~endpoint() {
|
||||
|
||||
@@ -61,8 +61,8 @@ public:
|
||||
typedef lib::shared_ptr<boost::asio::ip::tcp::socket> socket_ptr;
|
||||
|
||||
explicit connection() : m_state(UNINITIALIZED) {
|
||||
std::cout << "transport::asio::basic_socket::connection constructor"
|
||||
<< std::endl;
|
||||
//std::cout << "transport::asio::basic_socket::connection constructor"
|
||||
// << std::endl;
|
||||
}
|
||||
|
||||
/// Check whether or not this connection is secure
|
||||
|
||||
@@ -76,8 +76,8 @@ public:
|
||||
typedef boost::system::error_code boost_error;
|
||||
|
||||
explicit connection() {
|
||||
std::cout << "transport::asio::tls_socket::connection constructor"
|
||||
<< std::endl;
|
||||
//std::cout << "transport::asio::tls_socket::connection constructor"
|
||||
// << std::endl;
|
||||
}
|
||||
|
||||
/// Check whether or not this connection is secure
|
||||
|
||||
Reference in New Issue
Block a user