| 329 | } |
| 330 | |
| 331 | void RefrigerationCompressor_Impl::removeFromSystem() { |
| 332 | if (boost::optional<RefrigerationSystem> refrigerationSystem = this->system()) { |
| 333 | auto refrigerationCompressor = this->getObject<RefrigerationCompressor>(); |
| 334 | refrigerationSystem->removeCompressor(refrigerationCompressor); |
| 335 | refrigerationSystem->removeHighStageCompressor(refrigerationCompressor); |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | } // namespace detail |
| 340 |
no test coverage detected