Use std::jthread

This commit is contained in:
Robbert van der Helm
2020-06-20 16:16:12 +02:00
parent f5f6f04016
commit 61cde0bd43
8 changed files with 23 additions and 54 deletions
+1 -3
View File
@@ -171,8 +171,6 @@ class GroupHost : public HostProcess {
std::string group_name,
boost::asio::local::stream_protocol::socket& host_vst_dispatch);
~GroupHost();
PluginArchitecture architecture() override;
boost::filesystem::path path() override;
bool running() override;
@@ -204,5 +202,5 @@ class GroupHost : public HostProcess {
* TODO: Replace the polling with inotify to prevent delays and to reduce
* wasting resources
*/
std::thread group_host_connect_handler;
std::jthread group_host_connect_handler;
};