Skip to content

Commit 7c92b02

Browse files
committed
internal nodes should not be included in depthai.hpp header
1 parent e3a8ef4 commit 7c92b02

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/depthai/pipeline/nodes.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232
#include "node/UVC.hpp"
3333
#include "node/VideoEncoder.hpp"
3434
#include "node/Warp.hpp"
35-
#include "node/internal/XLinkIn.hpp"
36-
#include "node/internal/XLinkOut.hpp"
3735
#include "node/host/RGBD.hpp"
3836
#ifdef DEPTHAI_HAVE_OPENCV_SUPPORT
3937
#include "node/host/Display.hpp"

tests/src/ondevice_tests/pipeline_test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// Include depthai library
44
#include <depthai/depthai.hpp>
55

6+
// internal nodes
7+
#include <depthai/pipeline/node/internal/XLinkIn.hpp>
8+
#include <depthai/pipeline/node/internal/XLinkOut.hpp>
9+
610
TEST_CASE("Pipeline link and remove") {
711
dai::Pipeline p;
812
auto x_in = p.create<dai::node::internal::XLinkIn>();

0 commit comments

Comments
 (0)