| 360 | } |
| 361 | |
| 362 | static inline void |
| 363 | closeInputStream(istream* in, const string& path) |
| 364 | { |
| 365 | if (path == "-") |
| 366 | return; |
| 367 | ifstream* ifs = static_cast<ifstream*>(in); |
| 368 | ifs->close(); |
| 369 | delete ifs; |
| 370 | } |
| 371 | |
| 372 | static inline void |
| 373 | closeOutputStream(ostream* out, const string& path) |
no test coverage detected