| 370 | } |
| 371 | |
| 372 | static inline void |
| 373 | closeOutputStream(ostream* out, const string& path) |
| 374 | { |
| 375 | if (path == "-") |
| 376 | return; |
| 377 | ofstream* ofs = static_cast<ofstream*>(out); |
| 378 | ofs->close(); |
| 379 | delete ofs; |
| 380 | } |
| 381 | |
| 382 | template<typename CBF> |
| 383 | void |
no test coverage detected