| 111 | } |
| 112 | |
| 113 | Chain Chain::concat(Chain lhs, Chain rhs) |
| 114 | { |
| 115 | if (!lhs.processors.empty() && !rhs.processors.empty()) |
| 116 | { |
| 117 | lhs.appendChain(std::move(rhs)); |
| 118 | return lhs; |
| 119 | } |
| 120 | |
| 121 | if (lhs.processors.empty()) |
| 122 | return rhs; |
| 123 | |
| 124 | return lhs; |
| 125 | } |
| 126 | |
| 127 | |
| 128 | IProcessor & Chain::getSource() |
no test coverage detected