Change File::open to File::open_for_writing.

Not thrilled about the File API right now...
This commit is contained in:
Jared Boone 2016-04-10 15:55:01 -07:00
parent df6593ac91
commit 38ba02a68f
3 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@ PNGWriter::PNGWriter(
const std::string& filename
)
{
file.open(filename);
file.open_for_writing(filename);
file.write(png_file_header);
file.write(png_ihdr_screen_capture);