We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::move
1 parent b5dfdc2 commit f04a30dCopy full SHA for f04a30d
sycl/include/sycl/property_list.hpp
@@ -84,7 +84,8 @@ class PropertyValidator {
84
static void checkPropsAndThrow(const property_list &PropList,
85
std::function<bool(int)> FunctionForDataless,
86
std::function<bool(int)> FunctionForData) {
87
- PropList.checkPropsAndThrow(FunctionForDataless, FunctionForData);
+ PropList.checkPropsAndThrow(std::move(FunctionForDataless),
88
+ std::move(FunctionForData));
89
}
90
};
91
} // namespace detail
0 commit comments