!str #17039 change default materialization placeholder type from Unit to Any

This commit is contained in:
Mathias 2015-04-02 16:52:30 +02:00
parent 52117b9020
commit 85c0571620
11 changed files with 51 additions and 54 deletions

View file

@ -327,7 +327,7 @@ object FlowGraph extends GraphApply {
b.addEdge(importAndGetPort(b), to)
}
def ~>[Out](via: Flow[T, Out, _])(implicit b: Builder[_]): PortOps[Out, Unit] = {
def ~>[Out](via: Flow[T, Out, Any])(implicit b: Builder[_]): PortOps[Out, Unit] = {
val s = b.add(via)
b.addEdge(importAndGetPort(b), s.inlet)
s.outlet