diff --git a/wsi/wsi_alloc_utils.hpp b/wsi/wsi_alloc_utils.hpp index ab5ecaa..3d9786b 100644 --- a/wsi/wsi_alloc_utils.hpp +++ b/wsi/wsi_alloc_utils.hpp @@ -54,8 +54,8 @@ class swapchain_wsialloc_allocator public: static std::optional create(); - swapchain_wsialloc_allocator(swapchain_wsialloc_allocator &other) = delete; - swapchain_wsialloc_allocator &operator=(swapchain_wsialloc_allocator &other) = delete; + swapchain_wsialloc_allocator(const swapchain_wsialloc_allocator &other) = delete; + swapchain_wsialloc_allocator &operator=(const swapchain_wsialloc_allocator &other) = delete; swapchain_wsialloc_allocator(swapchain_wsialloc_allocator &&other) : m_allocator(other.m_allocator) @@ -106,4 +106,4 @@ private: } }; -} /* namespace wsi */ \ No newline at end of file +} /* namespace wsi */