diff options
Diffstat (limited to 'lldb/source/Interpreter/OptionValueFormat.cpp')
| -rw-r--r-- | lldb/source/Interpreter/OptionValueFormat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Interpreter/OptionValueFormat.cpp b/lldb/source/Interpreter/OptionValueFormat.cpp index 24dd8fd5f71..1837804a462 100644 --- a/lldb/source/Interpreter/OptionValueFormat.cpp +++ b/lldb/source/Interpreter/OptionValueFormat.cpp @@ -14,7 +14,7 @@ // Other libraries and framework includes // Project includes #include "lldb/DataFormatters/FormatManager.h" -#include "lldb/Interpreter/Args.h" +#include "lldb/Interpreter/OptionArgParser.h" #include "lldb/Utility/Stream.h" using namespace lldb; @@ -43,7 +43,7 @@ Status OptionValueFormat::SetValueFromString(llvm::StringRef value, case eVarSetOperationReplace: case eVarSetOperationAssign: { Format new_format; - error = Args::StringToFormat(value.str().c_str(), new_format, nullptr); + error = OptionArgParser::ToFormat(value.str().c_str(), new_format, nullptr); if (error.Success()) { m_value_was_set = true; m_current_value = new_format; |

