mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-19 19:16:34 +00:00
Capture 'this' by reference.
This commit is contained in:
@@ -297,7 +297,7 @@ size_t BufferingScanTarget::write_area_data_size() const {
|
||||
}
|
||||
|
||||
void BufferingScanTarget::set_modals(Modals modals) {
|
||||
perform([=] {
|
||||
perform([&] {
|
||||
modals_ = modals;
|
||||
modals_are_dirty_.store(true, std::memory_order_relaxed);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user