| 26 | // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // |
| 27 | |
| 28 | inline void Foam::fileName::stripInvalid() |
| 29 | { |
| 30 | if (debug && string::stripInvalid<fileName>(*this)) |
| 31 | { |
| 32 | std::cerr |
| 33 | << "fileName::stripInvalid() called for invalid fileName " |
| 34 | << this->c_str() << std::endl; |
| 35 | |
| 36 | if (debug > 1) |
| 37 | { |
| 38 | std::cerr |
| 39 | << " For debug level (= " << debug |
| 40 | << ") > 1 this is considered fatal" << std::endl; |
| 41 | std::abort(); |
| 42 | } |
| 43 | |
| 44 | removeRepeated('/'); |
| 45 | removeTrailing('/'); |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | |
| 50 | // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // |
no test coverage detected