summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index af954ec9547..8688f038698 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -124,7 +124,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_frame_diag_options;
+ return llvm::makeArrayRef(g_frame_diag_options);
}
// Options.
@@ -296,7 +296,7 @@ public:
}
llvm::ArrayRef<OptionDefinition> GetDefinitions() override {
- return g_frame_select_options;
+ return llvm::makeArrayRef(g_frame_select_options);
}
int32_t relative_frame_offset;
OpenPOWER on IntegriCloud