mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-25 16:09:54 +01:00
[CPP] Fix MTC build on the latest msvc (#21926)
This commit is contained in:
@@ -93,7 +93,7 @@ LRESULT CALLBACK MeasureToolWndProc(HWND window, UINT message, WPARAM wparam, LP
|
||||
if (auto state = GetWindowParam<Serialized<MeasureToolState>*>(window))
|
||||
{
|
||||
state->Read([](const MeasureToolState& s) { s.commonState->overlayBoxText.Read([](const OverlayBoxText& text) {
|
||||
SetClipBoardToText(text.buffer);
|
||||
SetClipBoardToText(text.buffer.data());
|
||||
}); });
|
||||
}
|
||||
PostMessageW(window, WM_CLOSE, {}, {});
|
||||
|
||||
Reference in New Issue
Block a user