================
@@ -130,7 +130,7 @@ class ProcessLaunchInfo : public ProcessInfo {
 
   PTY &GetPTY() const { return *m_pty; }
 
-  std::shared_ptr<PTY> GetPTYSP() const { return m_pty; }
+  std::shared_ptr<PTY> ReleasePTY() { return std::move(m_pty); }
----------------
charles-zablit wrote:

Not really, there is `ReleasePrimaryFileDescriptor` in the POSIX PTY 
implementation, but that's not applied to a `std::shared_ptr`.

I have renamed the method to `TakePTY`.

https://github.com/llvm/llvm-project/pull/181811
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to