summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Interpreter/CommandObject.h2
-rw-r--r--lldb/source/Interpreter/CommandObject.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/include/lldb/Interpreter/CommandObject.h b/lldb/include/lldb/Interpreter/CommandObject.h
index 4822cc31c26..96498c99566 100644
--- a/lldb/include/lldb/Interpreter/CommandObject.h
+++ b/lldb/include/lldb/Interpreter/CommandObject.h
@@ -120,7 +120,7 @@ public:
static const ArgumentTableEntry*
GetArgumentTable ();
- static const lldb::CommandArgumentType
+ static lldb::CommandArgumentType
LookupArgumentName (const char *arg_name);
static ArgumentTableEntry *
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp
index 6503e29d5e6..7cdf36dcfe0 100644
--- a/lldb/source/Interpreter/CommandObject.cpp
+++ b/lldb/source/Interpreter/CommandObject.cpp
@@ -570,7 +570,7 @@ CommandObject::GetFormattedCommandArguments (Stream &str)
}
}
-const CommandArgumentType
+CommandArgumentType
CommandObject::LookupArgumentName (const char *arg_name)
{
CommandArgumentType return_type = eArgTypeLastArg;
OpenPOWER on IntegriCloud