aboutsummaryrefslogtreecommitdiff
path: root/lldb/include/lldb/Target/TargetList.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/include/lldb/Target/TargetList.h')
-rw-r--r--lldb/include/lldb/Target/TargetList.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lldb/include/lldb/Target/TargetList.h b/lldb/include/lldb/Target/TargetList.h
index 50a7a321ead1..5ed0344f175c 100644
--- a/lldb/include/lldb/Target/TargetList.h
+++ b/lldb/include/lldb/Target/TargetList.h
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef liblldb_TargetList_h_
-#define liblldb_TargetList_h_
+#ifndef LLDB_TARGET_TARGETLIST_H
+#define LLDB_TARGET_TARGETLIST_H
#include <mutex>
#include <vector>
@@ -206,9 +206,10 @@ private:
lldb::PlatformSP &platform_sp,
lldb::TargetSP &target_sp, bool is_dummy_target);
- DISALLOW_COPY_AND_ASSIGN(TargetList);
+ TargetList(const TargetList &) = delete;
+ const TargetList &operator=(const TargetList &) = delete;
};
} // namespace lldb_private
-#endif // liblldb_TargetList_h_
+#endif // LLDB_TARGET_TARGETLIST_H