diff options
Diffstat (limited to 'src/server/GraphImpl.hpp')
-rw-r--r-- | src/server/GraphImpl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index f7d0be32..57e60792 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -123,11 +123,13 @@ public: void add_input(DuplexPort& port) { ThreadManager::assert_thread(THREAD_PRE_PROCESS); + assert(port.is_input()); _inputs.push_front(port); } void add_output(DuplexPort& port) { ThreadManager::assert_thread(THREAD_PRE_PROCESS); + assert(port.is_output()); _outputs.push_front(port); } |