Commit 07b4b0e0 authored by Patrik Huber's avatar Patrik Huber

Fixed opening ifstream as binary when reading json

parent e24cd1af
......@@ -81,7 +81,7 @@ struct ModelContour
{
ModelContour contour;
std::ifstream file(filename, std::ios::binary);
std::ifstream file(filename);
if (file.fail()) {
throw std::runtime_error("Error opening given file: " + filename);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment