1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

core: fix GpuMatND move assignment

This commit is contained in:
Peter Rekdal Khan-Sunde
2026-06-08 17:25:30 +02:00
parent e32cab0e31
commit 845d95aaac
@@ -500,16 +500,8 @@ public:
GpuMatND(const GpuMatND&) = default;
GpuMatND& operator=(const GpuMatND&) = default;
#if defined(__GNUC__) && __GNUC__ < 5
// error: function '...' defaulted on its first declaration with an exception-specification
// that differs from the implicit declaration '...'
GpuMatND(GpuMatND&&) = default;
GpuMatND& operator=(GpuMatND&&) = default;
#else
GpuMatND(GpuMatND&&) noexcept = default;
GpuMatND& operator=(GpuMatND&&) noexcept = default;
#endif
void upload(InputArray src);
void upload(InputArray src, Stream& stream);