Skip to content

Commit c724e14

Browse files
author
Chen, Brox
committed
update test
1 parent fdd890f commit c724e14

File tree

3 files changed

+264
-135
lines changed

3 files changed

+264
-135
lines changed

sycl/include/sycl/ext/oneapi/experimental/annotated_ptr/annotated_ptr.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class annotated_ref<T, detail::properties_t<Props...>> {
8989

9090
private:
9191
T *m_Ptr;
92-
annotated_ref(T *Ptr) : m_Ptr(Ptr) {}
92+
explicit annotated_ref(T *Ptr) : m_Ptr(Ptr) {}
9393

9494
public:
9595
annotated_ref(const annotated_ref &) = delete;

0 commit comments

Comments
 (0)