| 85 | |
| 86 | template<> |
| 87 | inline StatusWithReason fromString(const std::string& from, OGRSpec& to) |
| 88 | { |
| 89 | try |
| 90 | { |
| 91 | to.update(from); |
| 92 | } |
| 93 | catch (OGRSpec::error& e) |
| 94 | { |
| 95 | return StatusWithReason(-1, e.what()); |
| 96 | } |
| 97 | return true; |
| 98 | } |
| 99 | |
| 100 | } // nampespace utils |
| 101 |
nothing calls this directly
no test coverage detected