| 98 | } |
| 99 | |
| 100 | std::string GetAString(const wchar_t* wstring) { |
| 101 | if (!wstring) { |
| 102 | return std::string(); |
| 103 | } |
| 104 | |
| 105 | std::wstring str(wstring); |
| 106 | return std::string(str.begin(), str.end()); |
| 107 | } |
| 108 | #endif |
| 109 | } // namespace |
| 110 |
no test coverage detected