Missing return wsi_alloc_utils.hpp in WSI layer

Ensure the move-assignment operator in
swapchain_wsialloc_allocator returns *this on all
code paths. This avoids undefined behavior and satisfies
the function’s return type requirements.

Signed-off-by: Maged Elnaggar <maged.elnaggar@arm.com>
Change-Id: I99762484d7a02c24a4632a7a84b415a3842d02a3
This commit is contained in:
Maged Elnaggar 2025-07-21 14:30:08 +01:00
parent 24a77e8300
commit 5dbb34a16d

View file

@ -75,6 +75,7 @@ public:
m_allocator = nullptr;
}
std::swap(m_allocator, other.m_allocator);
return *this;
}
~swapchain_wsialloc_allocator()