diff --git a/libs/wgpu/include/psemek/wgpu/chained_struct.hpp b/libs/wgpu/include/psemek/wgpu/chained_struct.hpp index 173f5069..f13b0472 100644 --- a/libs/wgpu/include/psemek/wgpu/chained_struct.hpp +++ b/libs/wgpu/include/psemek/wgpu/chained_struct.hpp @@ -65,8 +65,8 @@ namespace psemek::wgpu struct chained_struct { template - chained_struct(T const & value) - : impl_(to_chained_struct(value)) + chained_struct(T && value) + : impl_(to_chained_struct(std::move(value))) {} void * ptr() const