We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ea21c4 + e695905 commit f46b125Copy full SHA for f46b125
modules/core/include/opencv2/core/cuda.hpp
@@ -452,8 +452,16 @@ class CV_EXPORTS_W GpuMatND
452
GpuMatND(const GpuMatND&) = default;
453
GpuMatND& operator=(const GpuMatND&) = default;
454
455
+#if defined(__GNUC__) && __GNUC__ < 5
456
+ // error: function '...' defaulted on its first declaration with an exception-specification
457
+ // that differs from the implicit declaration '...'
458
+
459
+ GpuMatND(GpuMatND&&) = default;
460
+ GpuMatND& operator=(GpuMatND&&) = default;
461
+#else
462
GpuMatND(GpuMatND&&) noexcept = default;
463
GpuMatND& operator=(GpuMatND&&) noexcept = default;
464
+#endif
465
466
void upload(InputArray src);
467
void upload(InputArray src, Stream& stream);
0 commit comments