From 1523669830befd9c6b0c2d15a92f7b9ffc7cc9e5 Mon Sep 17 00:00:00 2001 From: Csaba Sipos Date: Wed, 18 Sep 2024 11:11:08 +0200 Subject: [PATCH] fix custom pair implementation operator= --- src/stdgpu/impl/utility_detail.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdgpu/impl/utility_detail.h b/src/stdgpu/impl/utility_detail.h index 748802ca7..db8cf35bb 100644 --- a/src/stdgpu/impl/utility_detail.h +++ b/src/stdgpu/impl/utility_detail.h @@ -115,7 +115,7 @@ constexpr STDGPU_HOST_DEVICE pair& pair::operator=(pair&& p) { first = forward(p.first); - second = forward(p.second); + second = forward(p.second); return *this; }