Merge pull request #16046 from alalek:issue_15990
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 5 Dec 2019 11:48:18 +0000 (14:48 +0300)
committerGitHub <noreply@github.com>
Thu, 5 Dec 2019 11:48:18 +0000 (14:48 +0300)
commitf21bde4d9fddd876cfa85e1d1fbc1b98562262e2
tree6fe988eb056ba6a58c84b2ca2bcef78d1dbd7b22
parent986c5084a423878342fb6fa91fcecf56bb90673d
Merge pull request #16046 from alalek:issue_15990

* core: disable invalid constructors in C API by default

- C API objects will lose their default initializers through constructors

* samples: stop using of C API
modules/core/include/opencv2/core/types_c.h
samples/cpp/image.cpp
samples/cpp/tutorial_code/core/interoperability_with_OpenCV_1/interoperability_with_OpenCV_1.cpp
samples/cpp/tutorial_code/core/mat_operations/mat_operations.cpp