Fix compiler warning

This commit is contained in:
Gunter Labes 2018-04-21 11:21:59 +02:00
parent a3243bb535
commit bf42e65de2

View file

@ -319,7 +319,7 @@ void wesnothd_connection::handle_read(const boost::system::error_code& ec, std::
std::istream is(&read_buf_);
config data;
read_gz(data, is);
if(!data.empty()) DBG_NW << "Received:\n" << data;
if(!data.empty()) { DBG_NW << "Received:\n" << data; }
{
std::lock_guard<std::mutex> lock(recv_queue_mutex_);