diff options
Diffstat (limited to 'lldb/source/Interpreter/Property.cpp')
| -rw-r--r-- | lldb/source/Interpreter/Property.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Interpreter/Property.cpp b/lldb/source/Interpreter/Property.cpp index 78209311e2e5..a81098373c25 100644 --- a/lldb/source/Interpreter/Property.cpp +++ b/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)); } |
