@@ -326,9 +326,9 @@ serveConnection(const Socket::SocketProtocol &protocol, const std::string &name,
326326 std::thread client ([=, &dap_sessions_condition, &dap_sessions_mutex,
327327 &dap_sessions]() {
328328 llvm::set_thread_name (client_name + " .runloop" );
329- Transport transport{ client_name, log, io, io} ;
330- DAP dap = DAP (program_path, log, default_repl_mode, pre_init_commands,
331- client_name, transport);
329+ Transport transport ( client_name, log, io, io) ;
330+ DAP dap (program_path, log, default_repl_mode, pre_init_commands,
331+ client_name, transport);
332332
333333 if (auto Err = dap.ConfigureIO ()) {
334334 llvm::logAllUnhandledErrors (std::move (Err), llvm::errs (),
@@ -568,9 +568,9 @@ int main(int argc, char *argv[]) {
568568 stdout_fd, File::eOpenOptionWriteOnly, false );
569569
570570 std::string client_name = " stdin/stdout" ;
571- Transport transport{ client_name, log.get (), input, output} ;
572- DAP dap = DAP (program_path, log.get (), default_repl_mode, pre_init_commands,
573- client_name, transport);
571+ Transport transport ( client_name, log.get (), input, output) ;
572+ DAP dap (program_path, log.get (), default_repl_mode, pre_init_commands,
573+ client_name, transport);
574574
575575 // stdout/stderr redirection to the IDE's console
576576 if (auto Err = dap.ConfigureIO (stdout, stderr)) {
0 commit comments