Skip to content

Commit 6ec1ff5

Browse files
remove default non-const ref constructor to fix MS VS build break
1 parent 54d2057 commit 6ec1ff5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎libtensor/include/usm_array.hpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class strided_array
2626
int flags)
2727
: ptr_(ptr), nd_(nd), shape_(shape), strides_(strides),
2828
typenum_(typenum), flags_(flags){};
29-
strided_array(strided_array &other) = default;
3029
strided_array(const strided_array &other) = default;
3130
strided_array(strided_array &&other) = default;
3231
~strided_array() = default;
@@ -87,7 +86,6 @@ class usm_array : public strided_array
8786
DPCTLSyclQueueRef qref)
8887
: strided_array(data, nd, shape, strides, typenum, flags), q_(qref){};
8988

90-
usm_array(usm_array &other) = default;
9189
usm_array(const usm_array &other) = default;
9290
usm_array(usm_array &&other) = default;
9391
~usm_array() = default;

0 commit comments

Comments
 (0)