Commit 5e527d22 authored by Alexander Alekhin's avatar Alexander Alekhin

gapi: fix build with MSVS2017/2019

parent 174b4ce2
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment