Change PBM output mode to system default.

It's ASCII output at the moment anyway, so it shouldn't be an issue.
This commit is contained in:
Danny Robson 2012-05-17 14:16:40 +10:00
parent 3b9d9cde30
commit d2c174f2e1

View File

@ -39,7 +39,7 @@ write_netpbm (const uint8_t *restrict pixels,
CHECK_HARD (height > 0);
// Establish an output stream
std::ofstream output (path.native (), std::ios::binary);
std::ofstream output (path.string ());
if (!output.good ())
throw util::output_error ("Unable to open output file");