File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -225,16 +225,16 @@ class DeviceBinaryImage {
225
225
public:
226
226
using ValTy = std::remove_pointer<pi_device_binary_property>::type;
227
227
228
- class ConstIterator
229
- : public std::iterator<std::input_iterator_tag, // iterator_category
230
- ValTy, // value_type
231
- ptrdiff_t , // difference_type
232
- const pi_device_binary_property, // pointer
233
- pi_device_binary_property> // reference
234
- {
228
+ class ConstIterator {
235
229
pi_device_binary_property Cur;
236
230
237
231
public:
232
+ using iterator_category = std::input_iterator_tag;
233
+ using value_type = ValTy;
234
+ using difference_type = ptrdiff_t ;
235
+ using pointer = const pi_device_binary_property;
236
+ using reference = pi_device_binary_property;
237
+
238
238
ConstIterator (pi_device_binary_property Cur = nullptr ) : Cur(Cur) {}
239
239
ConstIterator &operator ++() {
240
240
Cur++;
Original file line number Diff line number Diff line change 14
14
// /
15
15
// / \ingroup sycl_pi_ocl
16
16
17
+ #define CL_USE_DEPRECATED_OPENCL_1_2_APIS
18
+
17
19
#include < CL/sycl/detail/cl.h>
18
20
#include < CL/sycl/detail/pi.h>
19
21
You can’t perform that action at this time.
0 commit comments