From: Tomek Mrugalski Date: Tue, 15 Nov 2016 07:54:31 +0000 (+0100) Subject: Compilation fix on ubuntu 16.04 X-Git-Tag: trac5036_base2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3043fdb6123e7fc48ba64daf93bbf38fa89fd55c;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); }