mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Remove some more of boost::
This commit is contained in:
parent
29328867dc
commit
cb226e00f9
6 changed files with 18 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue