projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added unit test to demonstrate Jack <->Multiconnector problem
[senf.git]
/
senf
/
PPI
/
Connectors.cc
diff --git
a/senf/PPI/Connectors.cc
b/senf/PPI/Connectors.cc
index
1e3fb63
..
9b0232d
100644
(file)
--- a/
senf/PPI/Connectors.cc
+++ b/
senf/PPI/Connectors.cc
@@
-66,6
+66,7
@@
prefix_ void senf::ppi::connector::Connector::connect(Connector & target)
SENF_ASSERT( ! target.peer_,
"senf::ppi::connector::Connector::connect(): (target) "
"duplicate connection" );
+
if (! (packetTypeID() == typeid(void) ||
target.packetTypeID() == typeid(void) ||
packetTypeID() == target.packetTypeID()) )