GAPI: fix C++17 compilation errors in GNetPackage (fixes #17385)
authorAnton Potapov <anton.potapov@intel.com>
Tue, 1 Dec 2020 06:34:53 +0000 (09:34 +0300)
committerAnton Potapov <anton.potapov@intel.com>
Tue, 1 Dec 2020 06:34:53 +0000 (09:34 +0300)
commit446f3448180075cfbb8227644352ad9c3e573caf
treed8c838a4c7f4a630d73a8e0acaed8b7ec57463b4
parente726ff3296b9e382371a778ad807d37a2e49b979
GAPI: fix C++17 compilation errors in GNetPackage (fixes #17385)

- explicitly declared default constructor
- made initilizer_list  constructor to accept the list by copy
   -- as it is  more canonical (and as copying the initializer_list does
not force copy of the list items)
   -- current version anyway does not do what it is intended to
modules/gapi/include/opencv2/gapi/infer.hpp
modules/gapi/src/api/ginfer.cpp