Browse Source

Compilation fix on ubuntu 16.04

Tomek Mrugalski 8 years ago
parent
commit
3043fdb612
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/dhcp6/parser_context.cc

+ 1 - 1
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);
     }