1
0
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:
Thomas Harte
2025-02-27 11:56:51 -05:00
parent 49fec1bc10
commit eab4274737
+1 -1
View File
@@ -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);
});