diff --git a/daemon/session_manager.cpp b/daemon/session_manager.cpp index c65d26c..43805c4 100644 --- a/daemon/session_manager.cpp +++ b/daemon/session_manager.cpp @@ -1048,7 +1048,7 @@ std::list SessionManager::get_updated_sinks( BOOST_LOG_TRIVIAL(info) << "session_manager:: sink " << std::to_string(sink.id) << " SDP change detected version " << newVersion << " updating"; - sinks_list.emplace_back(sink); + sinks_list.emplace_back(std::move(sink)); } } return sinks_list; diff --git a/webui/src/Config.jsx b/webui/src/Config.jsx index fab35e9..99af251 100644 --- a/webui/src/Config.jsx +++ b/webui/src/Config.jsx @@ -230,7 +230,7 @@ class Config extends Component { this.setState({mdnsEnabled: e.target.checked})} checked={this.state.mdnsEnabled ? true : undefined}/> - + this.setState({autoSinksUpdate: e.target.checked})} checked={this.state.autoSinksUpdate ? true : undefined}/>