fix SymmetricTransform::connectFrom
@@ -92,18 +92,18 @@ class SymmetricTransform : public ValueConsumer<T>, public Transform<T> {
ValueProducer<T>* pProducer3 = NULL,
ValueProducer<T>* pProducer4 = NULL) {
- this->connectFrom(pProducer0, 0);
+ pProducer0->connectTo(this, 0);
if (pProducer1 != NULL) {
- this->connectFrom(pProducer1, 1);
+ pProducer1->connectTo(this, 1);
}
if (pProducer2 != NULL) {
- this->connectFrom(pProducer2, 2);
+ pProducer2->connectTo(this, 2);
}
if (pProducer3 != NULL) {
- this->connectFrom(pProducer3, 3);
+ pProducer3->connectTo(this, 3);
}
if (pProducer4 != NULL) {
- this->connectFrom(pProducer4, 4);
+ pProducer4->connectTo(this, 4);
}
return this;
}
