| commit | 8cef4b0bb4bae8598efa7cd1274e54f534b0f4a4 | [log] [tgz] |
|---|---|---|
| author | Zachary Turner <zturner@google.com> | Fri Sep 23 17:48:13 2016 +0000 |
| committer | Zachary Turner <zturner@google.com> | Fri Sep 23 17:48:13 2016 +0000 |
| tree | 1ce2972876d13303fcd7f12d5774f806921d3421 | |
| parent | 6c46efba7818644ddab8d8c52940583c0672fd98 [diff] [blame] |
Update OptionGroup::SetValue to take StringRef. Then deal with all the fallout. Differential Revision: https://reviews.llvm.org/D24847 llvm-svn: 282265
diff --git a/lldb/source/Interpreter/OptionValueChar.cpp b/lldb/source/Interpreter/OptionValueChar.cpp index bfc39ae..6423185 100644 --- a/lldb/source/Interpreter/OptionValueChar.cpp +++ b/lldb/source/Interpreter/OptionValueChar.cpp
@@ -57,7 +57,7 @@ } break; default: - error = OptionValue::SetValueFromString(value.str().c_str(), op); + error = OptionValue::SetValueFromString(value, op); break; } return error;