[Lldb-commits] [lldb] [lldb-dap] Ensure the IO forwarding threads are managed by the DAP object lifecycle. (PR #120457)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 23 05:45:43 PST 2024


================
@@ -62,6 +65,9 @@ struct InputStream {
 struct OutputStream {
   StreamDescriptor descriptor;
 
+  explicit OutputStream(StreamDescriptor descriptor)
+      : descriptor(std::move(descriptor)) {};
----------------
labath wrote:

```suggestion
      : descriptor(std::move(descriptor)) {}
```

https://github.com/llvm/llvm-project/pull/120457


More information about the lldb-commits mailing list