API cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166070 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBValue.cpp b/source/API/SBValue.cpp
index 0aa01a6..5b38bc5 100644
--- a/source/API/SBValue.cpp
+++ b/source/API/SBValue.cpp
@@ -720,7 +720,7 @@
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 @@
Target* target = exe_ctx.GetTargetPtr();
if (target)
{
- options.SetKeepInMemory(true);
+ options.ref().SetKeepInMemory(true);
target->EvaluateExpression (expression,
exe_ctx.GetFramePtr(),
new_value_sp,