diff options
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index c03c724..55e724a 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -121,7 +121,7 @@ class CommandObjectSourceInfo : public CommandObjectParsed { } llvm::ArrayRef<OptionDefinition> GetDefinitions() override { - return g_source_info_options; + return llvm::makeArrayRef(g_source_info_options); } // Instance variables to hold the values for command options. @@ -749,7 +749,7 @@ class CommandObjectSourceList : public CommandObjectParsed { } llvm::ArrayRef<OptionDefinition> GetDefinitions() override { - return g_source_list_options; + return llvm::makeArrayRef(g_source_list_options); } // Instance variables to hold the values for command options. |