aboutsummaryrefslogtreecommitdiff
path: root/source/Interpreter/OptionValueRegex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Interpreter/OptionValueRegex.cpp')
-rw-r--r--source/Interpreter/OptionValueRegex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/Interpreter/OptionValueRegex.cpp b/source/Interpreter/OptionValueRegex.cpp
index 6823300c515a..aee8f97db163 100644
--- a/source/Interpreter/OptionValueRegex.cpp
+++ b/source/Interpreter/OptionValueRegex.cpp
@@ -32,9 +32,9 @@ void OptionValueRegex::DumpValue(const ExecutionContext *exe_ctx, Stream &strm,
}
}
-Error OptionValueRegex::SetValueFromString(llvm::StringRef value,
- VarSetOperationType op) {
- Error error;
+Status OptionValueRegex::SetValueFromString(llvm::StringRef value,
+ VarSetOperationType op) {
+ Status error;
switch (op) {
case eVarSetOperationInvalid:
case eVarSetOperationInsertBefore: