From 601113a445658d8b15273dd91c66cf20daf50d30 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 20 Jun 2024 16:35:25 +0200 Subject: Changing towards a better allocated structure for sycl --- modules/codec/tests/codec.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/codec/tests') diff --git a/modules/codec/tests/codec.cpp b/modules/codec/tests/codec.cpp index 10d9d0c..720b734 100644 --- a/modules/codec/tests/codec.cpp +++ b/modules/codec/tests/codec.cpp @@ -364,7 +364,7 @@ SAW_TEST("Function basics"){ } ); - auto eov = func_add.call(std::move(native)); + auto eov = func_add.call(native); SAW_EXPECT(eov.is_value(), "Returned value is an error"); auto& val = eov.get_value(); @@ -408,7 +408,7 @@ SAW_TEST("Interface basics"){ native.get<0>().set(5); native.get<1>().set(40); - auto eov = iface.template call<"add">(std::move(native)); + auto eov = iface.template call<"add">(native); SAW_EXPECT(eov.is_value(), "Returned value is an error"); auto& val = eov.get_value(); @@ -419,7 +419,7 @@ SAW_TEST("Interface basics"){ native.get<0>().set(5); native.get<1>().set(40); - auto eov = iface.template call<"sub">(std::move(native)); + auto eov = iface.template call<"sub">(native); SAW_EXPECT(eov.is_value(), "Returned value is an error"); auto& val = eov.get_value(); @@ -430,7 +430,7 @@ SAW_TEST("Interface basics"){ native.get<0>().set(5); native.get<1>().set(40); - auto eov = iface.template call<"multiply">(std::move(native)); + auto eov = iface.template call<"multiply">(native); SAW_EXPECT(eov.is_value(), "Returned value is an error"); auto& val = eov.get_value(); -- cgit v1.2.3