1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

gapi: fix build with MSVS2017/2019

This commit is contained in:
Alexander Alekhin
2019-08-08 16:13:25 +03:00
parent 174b4ce29d
commit 5e527d22e3
+2 -1
View File
@@ -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;
};