Return value from non-void function.

This commit is contained in:
Bartosz Taudul 2018-07-13 20:12:39 +02:00
parent a3c898f8b8
commit 26f2cb336e

View File

@ -133,7 +133,7 @@ public:
if( active != connected ) m_active.store( connected, std::memory_order_relaxed );
if( connected ) queue = true;
}
if( !queue ) return;
if( !queue ) return ret;
#endif
if( ret )