diff options
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
-rw-r--r-- | lldb/source/Interpreter/ScriptInterpreter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp index fa23964..079ab90 100644 --- a/lldb/source/Interpreter/ScriptInterpreter.cpp +++ b/lldb/source/Interpreter/ScriptInterpreter.cpp @@ -53,7 +53,7 @@ bool ScriptInterpreter::LoadScriptingModule(const char *filename, lldb_private::Status &error, StructuredData::ObjectSP *module_sp, FileSpec extra_search_dir) { - error.SetErrorString( + error = Status::FromErrorString( "This script interpreter does not support importing modules."); return false; } |