]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Compilation fix on ubuntu 16.04
authorTomek Mrugalski <tomasz@isc.org>
Tue, 15 Nov 2016 07:54:31 +0000 (08:54 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Tue, 15 Nov 2016 07:54:31 +0000 (08:54 +0100)
src/bin/dhcp6/parser_context.cc

index 2cd5c3198ea76d8f97814ab43da8255050a7d0e9..3f89839ff1768ce80b82725ad597e3a80b9590ad 100644 (file)
@@ -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);
     }