Skip to content

Commit 65baee7

Browse files
[SYCL][NFC] Remove unused parameter from multi_ptr operator (#7047)
#6893 added support for SYCL 2020 multi_ptr as well as a fix to one of the operators. The fixed operator did however retain an unused parameter. This commit removes this unused parameter. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 19ce212 commit 65baee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/multi_ptr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@ bool operator<=(const multi_ptr<ElementType, Space, DecorateAddress> &lhs,
14721472
template <typename ElementType, access::address_space Space,
14731473
access::decorated DecorateAddress>
14741474
bool operator<=(std::nullptr_t,
1475-
const multi_ptr<ElementType, Space, DecorateAddress> &rhs) {
1475+
const multi_ptr<ElementType, Space, DecorateAddress> &) {
14761476
return true;
14771477
}
14781478

0 commit comments

Comments
 (0)