Parcourir la source

Compilation fix on ubuntu 16.04

Tomek Mrugalski il y a 8 ans
Parent
commit
3043fdb612
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
     }