Loading src/html.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -1220,11 +1220,11 @@ void libhtmlpp::HtmlPage::loadFile(libhtmlpp::HtmlElement &html,const std::strin throw excp[HTMLException::Critical] << "Can't open file: " << path; } fs.seekg(std::ios::end, 0); fs.seekg(std::ios::end); data.reserve(fs.tellg()); fs.seekg(std::ios::beg, 0); fs.seekg(std::ios::beg); data.assign((std::istreambuf_iterator<char>(fs)), std::istreambuf_iterator<char>()); Loading Loading
src/html.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -1220,11 +1220,11 @@ void libhtmlpp::HtmlPage::loadFile(libhtmlpp::HtmlElement &html,const std::strin throw excp[HTMLException::Critical] << "Can't open file: " << path; } fs.seekg(std::ios::end, 0); fs.seekg(std::ios::end); data.reserve(fs.tellg()); fs.seekg(std::ios::beg, 0); fs.seekg(std::ios::beg); data.assign((std::istreambuf_iterator<char>(fs)), std::istreambuf_iterator<char>()); Loading