mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Fix compile for older versions of boost (e.g. the one used in Bionic)
This commit is contained in:
parent
b91bd312c6
commit
498dea25ca
@ -255,7 +255,11 @@ void WebSocketClient::Reconnect() {
|
||||
|
||||
this->Disconnect();
|
||||
|
||||
#if BOOST_VERSION < 106600
|
||||
io.reset();
|
||||
#else
|
||||
io.restart();
|
||||
#endif
|
||||
|
||||
auto prefs = Preferences::ForComponent(core::prefs::components::Settings);
|
||||
auto timeout = prefs->GetInt(core::prefs::keys::RemoteLibraryLatencyTimeoutMs, 5000);
|
||||
|
Loading…
Reference in New Issue
Block a user