| 39 | } |
| 40 | |
| 41 | void from_variant( const fc::variant& variant_to_convert, fc::path& path_output ) |
| 42 | { |
| 43 | std::wstring wide_string; |
| 44 | fc::decodeUtf8(variant_to_convert.as_string(), &wide_string); |
| 45 | path_output = path(wide_string); |
| 46 | } |
| 47 | |
| 48 | // Note: we can do this cast because the separator should be an ASCII character |
| 49 | char path::separator_char = static_cast<char>(boost::filesystem::path("/").make_preferred().native()[0]); |
nothing calls this directly
no test coverage detected