rsked/mpdclient.cc
/// Throw unless the client has a connection in m_conn. It does not attempt
/// to validate the connection.
/// * May throw
///
Throw unless the client has a connection in m_conn. It does not attempt
to validate the connection.
May throw
Throw unless the client has a connection in m_conn . It does not attempt to validate the connection . May throw
void Mpd_client::assert_connected()
{
    if (nullptr == m_conn) {
        m_last_err = Mpd_err::NoConnection;
        throw Mpd_connect_exception();
    }
}
void Mpd_client :: assert_connected ( ) { if ( nullptr == m_conn ) { m_last_err = Mpd_err :: NoConnection ; throw Mpd_connect_exception ( ) ; } }
Throw unless the client has a connection in m_conn.
Throw unless the client has a connection in m_conn .