diff options
Diffstat (limited to 'lldb/include/lldb/API/SBCommandReturnObject.h')
-rw-r--r-- | lldb/include/lldb/API/SBCommandReturnObject.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lldb/include/lldb/API/SBCommandReturnObject.h b/lldb/include/lldb/API/SBCommandReturnObject.h index 4ee296eb1797..5738c911ae12 100644 --- a/lldb/include/lldb/API/SBCommandReturnObject.h +++ b/lldb/include/lldb/API/SBCommandReturnObject.h @@ -9,7 +9,7 @@ #ifndef LLDB_API_SBCOMMANDRETURNOBJECT_H #define LLDB_API_SBCOMMANDRETURNOBJECT_H -#include <stdio.h> +#include <cstdio> #include <memory> @@ -105,9 +105,6 @@ public: void SetError(const char *error_cstr); - // ref() is internal for LLDB only. - lldb_private::CommandReturnObject &ref() const; - protected: friend class SBCommandInterpreter; friend class SBOptions; @@ -119,6 +116,8 @@ protected: lldb_private::CommandReturnObject &operator*() const; private: + lldb_private::CommandReturnObject &ref() const; + std::unique_ptr<lldb_private::SBCommandReturnObjectImpl> m_opaque_up; }; |