Skip to content

Commit 50c881d

Browse files
committed
Add default constructor for local_accessor in CodeGenSYCL
1 parent 917695a commit 50c881d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGenSYCL/Inputs/sycl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ local_accessor: public accessor<dataT,
426426
access::target::local> {
427427
public:
428428
#ifdef __SYCL_DEVICE_ONLY__
429-
local_accessor();
429+
local_accessor() = default;
430430
#endif
431431
void use(void) const {}
432432
template <typename... T>

0 commit comments

Comments
 (0)