summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2021-11-19 07:54:35 +0000
committer smf- <smf-@users.noreply.github.com>2021-11-19 07:55:50 +0000
commit5926a2e7605d5c8e7fc76246e384cd69b2f7ee05 (patch)
tree5f401b95d3bd3b9f1cab7bf05be455483a58049c /src
parent2d1364f213487e29fcdc68b7aeb2778c024b745d (diff)
clang fixes
Diffstat (limited to 'src')
-rw-r--r--src/osd/windows/winmain.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/osd/windows/winmain.cpp b/src/osd/windows/winmain.cpp
index 3eddee35f0a..ba66380f71e 100644
--- a/src/osd/windows/winmain.cpp
+++ b/src/osd/windows/winmain.cpp
@@ -99,11 +99,8 @@ public:
state.thread->join();
state.thread = std::nullopt;
}
- auto const parent = !osd_common_t::s_window_list.empty()
- ? std::static_pointer_cast<win_window_info>(osd_common_t::s_window_list.front())->platform_window()
- : nullptr;
state.thread.emplace(
- [parent] ()
+ [] ()
{
auto &state(get_state());
std::string message;