Drop GNU c++ extensions

This commit is contained in:
Patrick Nicolas
2025-09-22 22:29:26 +02:00
parent 668a94bae0
commit 13c7f8fbc2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ xrt_result_t wivrn::wivrn_session::create_session(std::unique_ptr<wivrn_connecti
self->feedback_csv.open(dump_file);
}
self->thread = std::jthread(&wivrn_session::run, self.get());
self->thread = std::jthread([s = self.get()](auto stop_token) { return s->run(stop_token); });
*out_xsysd = self.release();
return XRT_SUCCESS;
}