diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Interpreter/Property.cpp')
| -rw-r--r-- | contrib/llvm-project/lldb/source/Interpreter/Property.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/llvm-project/lldb/source/Interpreter/Property.cpp b/contrib/llvm-project/lldb/source/Interpreter/Property.cpp index 78209311e2e5..a81098373c25 100644 --- a/contrib/llvm-project/lldb/source/Interpreter/Property.cpp +++ b/contrib/llvm-project/lldb/source/Interpreter/Property.cpp @@ -292,8 +292,7 @@ void Property::DumpDescription(CommandInterpreter &interpreter, Stream &strm,    }  } -void Property::SetValueChangedCallback(OptionValueChangedCallback callback, -                                       void *baton) { +void Property::SetValueChangedCallback(std::function<void()> callback) {    if (m_value_sp) -    m_value_sp->SetValueChangedCallback(callback, baton); +    m_value_sp->SetValueChangedCallback(std::move(callback));  }  | 
