From 78e9eddfb6bfbc6b103fc60c9831b23ef252886b Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Tue, 8 Jul 2025 09:56:40 -0700 Subject: core: use new typed signals from hu (#10853) --- src/desktop/WLSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop/WLSurface.cpp') diff --git a/src/desktop/WLSurface.cpp b/src/desktop/WLSurface.cpp index a7b9e620..d1483db2 100644 --- a/src/desktop/WLSurface.cpp +++ b/src/desktop/WLSurface.cpp @@ -159,7 +159,7 @@ void CWLSurface::init() { m_resource->m_hlSurface = m_self.lock(); - m_listeners.destroy = m_resource->m_events.destroy.registerListener([this](std::any d) { destroy(); }); + m_listeners.destroy = m_resource->m_events.destroy.listen([this] { destroy(); }); Debug::log(LOG, "CWLSurface {:x} called init()", (uintptr_t)this); } -- cgit v1.2.3