We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6168267 commit 5cee89aCopy full SHA for 5cee89a
include/depthai/pipeline/DeviceNode.hpp
@@ -103,6 +103,9 @@ class DeviceNodeCRTP : public Base {
103
friend PipelineImpl;
104
};
105
106
-class HostRunnable {};
107
-
+class HostRunnable {
+ public:
108
+ HostRunnable() = default;
109
+ virtual ~HostRunnable(); // Has to be virtual for std::dynamic_cast to be used reliably
110
+};
111
} // namespace dai
src/pipeline/DeviceNode.cpp
@@ -77,4 +77,6 @@ dai::LogLevel DeviceNode::getLogLevel() const {
77
}
78
79
80
+HostRunnable::~HostRunnable() = default;
81
+
82
0 commit comments