gapi: fix build with MSVS2017/2019

pull/15262/head
Alexander Alekhin 5 years ago
parent 174b4ce29d
commit 5e527d22e3
  1. 3
      modules/gapi/include/opencv2/gapi/infer.hpp

@ -199,7 +199,8 @@ struct GAPI_EXPORTS GNetParam {
* @sa cv::gapi::networks
*/
struct GAPI_EXPORTS GNetPackage {
explicit GNetPackage(std::initializer_list<GNetParam> &&ii = {});
GNetPackage() : GNetPackage({}) {}
explicit GNetPackage(std::initializer_list<GNetParam> &&ii);
std::vector<GBackend> backends() const;
std::vector<GNetParam> networks;
};

Loading…
Cancel
Save