diff options
Diffstat (limited to 'lldb/source/API/SBValue.cpp')
-rw-r--r-- | lldb/source/API/SBValue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/API/SBValue.cpp b/lldb/source/API/SBValue.cpp index 0aa01a6c9cc..5b38bc5e14a 100644 --- a/lldb/source/API/SBValue.cpp +++ b/lldb/source/API/SBValue.cpp @@ -720,7 +720,7 @@ lldb::SBValue SBValue::CreateValueFromExpression (const char *name, const char* expression) { SBExpressionOptions options; - options.SetKeepInMemory(true); + options.ref().SetKeepInMemory(true); return CreateValueFromExpression (name, expression, options); } @@ -746,7 +746,7 @@ SBValue::CreateValueFromExpression (const char *name, const char *expression, SB Target* target = exe_ctx.GetTargetPtr(); if (target) { - options.SetKeepInMemory(true); + options.ref().SetKeepInMemory(true); target->EvaluateExpression (expression, exe_ctx.GetFramePtr(), new_value_sp, |