image: use windows friendly path string accessor
This commit is contained in:
parent
c7a868beac
commit
a5ecbb6bff
@ -275,7 +275,7 @@ util::pgm::read (const boost::filesystem::path &path)
|
|||||||
{
|
{
|
||||||
util::mapped_file raw (path);
|
util::mapped_file raw (path);
|
||||||
|
|
||||||
std::ifstream cooked (path.c_str (), std::ios::binary);
|
std::ifstream cooked (path.string (), std::ios::binary);
|
||||||
char magic[2];
|
char magic[2];
|
||||||
size_t width, height, scale;
|
size_t width, height, scale;
|
||||||
char space;
|
char space;
|
||||||
|
Loading…
Reference in New Issue
Block a user