add noexcept to default constructors of cv::ocl
authorDale Phurrough <dale@hidale.com>
Sat, 20 Feb 2021 13:16:47 +0000 (14:16 +0100)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sat, 20 Feb 2021 16:20:25 +0000 (16:20 +0000)
commit4badf640bf54207e19ba8ced1c41798e1d28b7d0
treee0a5082ee615587f246b1150191c84d74c80c813
parent8f6ba5a089a61d62bc2d06a8360960453f448a35
add noexcept to default constructors of cv::ocl

- follows iso c++ guideline C.44
- enables default compiler-created constructors to
  also be noexcept

original commit: 77e26a7db3447b7569dfee28fb8a253b8ed93e2b

- handled KernelArg, Image2D
modules/core/include/opencv2/core/ocl.hpp
modules/core/src/ocl.cpp
modules/core/src/ocl_disabled.impl.hpp