fix MinGW's compiler errors

This commit is contained in:
Jinhao
2017-05-10 05:47:42 +08:00
parent 8d4a734272
commit abfde4e77c
2 changed files with 14 additions and 7 deletions

View File

@@ -51,7 +51,7 @@ namespace nana
truetype(const path_type& filename)
{
std::ifstream ifs{ filename, std::ios::binary };
std::ifstream ifs(filename.string(), std::ios::binary);
if (!ifs.is_open())
return;