Remove some more of boost::

This commit is contained in:
jvoisin 2022-05-25 21:16:26 +02:00
parent 29328867dc
commit cb226e00f9
6 changed files with 18 additions and 14 deletions

View file

@ -1,6 +1,6 @@
#include "translation.hpp"
#include <boost/filesystem/fstream.hpp>
#include <fstream>
namespace Translation
{
@ -32,8 +32,8 @@ namespace Translation
if (dataFileCollections.getCollection (extension).doesExist (fileName))
{
boost::filesystem::ifstream stream (
dataFileCollections.getCollection (extension).getPath (fileName));
std::ifstream stream (
dataFileCollections.getCollection (extension).getPath (fileName).c_str());
if (!stream.is_open())
throw std::runtime_error ("failed to open translation file: " + fileName);