@@ -95,7 +95,9 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T *, detail::properties_t<Props...>> {
95
95
96
96
annotated_arg (T *_ptr,
97
97
const property_list_t &PropList = properties{}) noexcept
98
- : obj (global_pointer_t (_ptr)) {}
98
+ : obj (global_pointer_t (_ptr)) {
99
+ (void )PropList;
100
+ }
99
101
100
102
// Constructs an annotated_arg object from a raw pointer and variadic
101
103
// properties. The new property set contains all properties of the input
@@ -140,6 +142,7 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T *, detail::properties_t<Props...>> {
140
142
explicit annotated_arg (const annotated_arg<T2, PropertyListU> &other,
141
143
const PropertyListV &proplist) noexcept
142
144
: obj (other.obj ) {
145
+ (void )proplist;
143
146
static_assert (std::is_convertible<T2, T *>::value,
144
147
" The underlying data type of the input annotated_arg is not "
145
148
" compatible" );
@@ -196,7 +199,9 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T, detail::properties_t<Props...>> {
196
199
197
200
annotated_arg (const T &_obj,
198
201
const property_list_t &PropList = properties{}) noexcept
199
- : obj (_obj) {}
202
+ : obj (_obj) {
203
+ (void )PropList;
204
+ }
200
205
201
206
// Constructs an annotated_arg object from a raw pointer and variadic
202
207
// properties. The new property set contains all properties of the input
@@ -240,6 +245,7 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T, detail::properties_t<Props...>> {
240
245
explicit annotated_arg (const annotated_arg<T2, PropertyListU> &other,
241
246
const PropertyListV &proplist) noexcept
242
247
: obj (other.obj ) {
248
+ (void )proplist;
243
249
static_assert (std::is_convertible<T2, T>::value,
244
250
" The underlying data type of the input annotated_arg is not "
245
251
" compatible" );
0 commit comments