diff options
Diffstat (limited to 'lldb/include/lldb/Utility/Connection.h')
-rw-r--r-- | lldb/include/lldb/Utility/Connection.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lldb/include/lldb/Utility/Connection.h b/lldb/include/lldb/Utility/Connection.h index 9e66dee1363b..39e6e40191b0 100644 --- a/lldb/include/lldb/Utility/Connection.h +++ b/lldb/include/lldb/Utility/Connection.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef liblldb_Connection_h_ -#define liblldb_Connection_h_ +#ifndef LLDB_UTILITY_CONNECTION_H +#define LLDB_UTILITY_CONNECTION_H #include "lldb/lldb-defines.h" #include "lldb/lldb-enumerations.h" @@ -125,7 +125,7 @@ public: /// Subclasses must override this function. /// /// \param[in] dst - /// A desination buffer that must be at least \a dst_len bytes + /// A destination buffer that must be at least \a dst_len bytes /// long. /// /// \param[in] dst_len @@ -175,9 +175,10 @@ public: private: // For Connection only - DISALLOW_COPY_AND_ASSIGN(Connection); + Connection(const Connection &) = delete; + const Connection &operator=(const Connection &) = delete; }; } // namespace lldb_private -#endif // liblldb_Connection_h_ +#endif // LLDB_UTILITY_CONNECTION_H |