Skip to content

Commit ef0b040

Browse files
committed
Remove the deletion of the Arg copy consturctor so it is trivially copyable under MSVC
1 parent 54d0f64 commit ef0b040

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

example_headers/class_arg_kernel.cuh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ class Managed {
5050
struct Arg : public Managed {
5151
const int x;
5252
Arg(int x_) : x(x_) {}
53-
54-
// there can be no call to the copy constructor
55-
Arg(const Arg& arg) = delete;
5653
};
5754

5855
template <typename T>

0 commit comments

Comments
 (0)