From: Tomek Mrugalski Date: Tue, 15 Nov 2016 07:54:31 +0000 (+0100) Subject: Compilation fix on ubuntu 16.04 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a29d125fa2eec2e13aa1fb12a3b041ee5617dac;p=thirdparty%2Fkea.git Compilation fix on ubuntu 16.04 --- diff --git a/src/bin/dhcp6/parser_context.cc b/src/bin/dhcp6/parser_context.cc index 2cd5c3198e..3f89839ff1 100644 --- a/src/bin/dhcp6/parser_context.cc +++ b/src/bin/dhcp6/parser_context.cc @@ -51,7 +51,7 @@ isc::data::ConstElementPtr Parser6Context::parseFile(const std::string& filename, ParserType parser_type) { ifstream f; - f.open(filename); + f.open(filename.c_str()); if (!f.is_open()) { isc_throw(BadValue, "Can't open file " << filename); }