| 26 | } |
| 27 | |
| 28 | void Fork::Detach(BufferedTransformation *newOut) |
| 29 | { |
| 30 | TW_UNIQUE_PTR<BufferedTransformation> out(newOut ? newOut : new ByteQueue); |
| 31 | outPorts[currentPort]->Close(); |
| 32 | outPorts[currentPort]->TransferTo(*out); |
| 33 | outPorts[currentPort].reset(out.release()); |
| 34 | } |
| 35 | |
| 36 | void Fork::Attach(BufferedTransformation *newOut) |
| 37 | { |
nothing calls this directly
no test coverage detected