Skip to content

Commit 3397610

Browse files
committed
Make comparator const
1 parent 26acbe2 commit 3397610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/kernel_bundle_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace sycl {
2828
namespace detail {
2929

3030
template <class T> struct LessByHash {
31-
bool operator()(const T &LHS, const T &RHS) {
31+
bool operator()(const T &LHS, const T &RHS) const {
3232
return getSyclObjImpl(LHS) < getSyclObjImpl(RHS);
3333
}
3434
};

0 commit comments

Comments
 (0)