Fix implicitly-deleted default constructor
authorChristoph Gringmuth <public123@fastmail.com>
Sat, 12 Sep 2020 20:28:11 +0000 (22:28 +0200)
committerChristoph Gringmuth <public123@fastmail.com>
Sat, 12 Sep 2020 20:28:11 +0000 (22:28 +0200)
modules/gapi/include/opencv2/gapi/gkernel.hpp

index bd96933..7752b10 100644 (file)
@@ -36,11 +36,11 @@ struct GAPI_EXPORTS GKernel
 {
     using M = std::function<GMetaArgs(const GMetaArgs &, const GArgs &)>;
 
-    const std::string name;       // kernel ID, defined by its API (signature)
-    const std::string tag;        // some (implementation-specific) tag
-    const M           outMeta;    // generic adaptor to API::outMeta(...)
-    const GShapes     outShapes;  // types (shapes) kernel's outputs
-    const GKinds      inKinds;    // kinds of kernel's inputs (fixme: below)
+    std::string name;       // kernel ID, defined by its API (signature)
+    std::string tag;        // some (implementation-specific) tag
+    M           outMeta;    // generic adaptor to API::outMeta(...)
+    GShapes     outShapes;  // types (shapes) kernel's outputs
+    GKinds      inKinds;    // kinds of kernel's inputs (fixme: below)
 };
 // TODO: It's questionable if inKinds should really be here. Instead,
 // this information could come from meta.