Skip to content

Commit 8469578

Browse files
v-klochkovbader
authored andcommitted
[SYCL][NFC] Fix warning caused by inconsistent struct/class usage for Builder
Signed-off-by: Vyacheslav N Klochkov <[email protected]>
1 parent 35fc029 commit 8469578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/CL/sycl/item.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ template <int dimensions = 1, bool with_offset = true> class item {
7777
const id<dimensions> &index)
7878
: MImpl{extent, index} {}
7979

80-
friend struct detail::Builder;
80+
friend class detail::Builder;
8181

8282
private:
8383
detail::ItemBase<dimensions, with_offset> MImpl;

0 commit comments

Comments
 (0)