Commit 3043fdb6 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

Compilation fix on ubuntu 16.04

parent 7acb08d8
...@@ -51,7 +51,7 @@ isc::data::ConstElementPtr ...@@ -51,7 +51,7 @@ isc::data::ConstElementPtr
Parser6Context::parseFile(const std::string& filename, ParserType parser_type) { Parser6Context::parseFile(const std::string& filename, ParserType parser_type) {
ifstream f; ifstream f;
f.open(filename); f.open(filename.c_str());
if (!f.is_open()) { if (!f.is_open()) {
isc_throw(BadValue, "Can't open file " << filename); isc_throw(BadValue, "Can't open file " << filename);
} }
......
Supports Markdown
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