mirror of https://github.com/libAthena/athena.git
Windows fix
This commit is contained in:
parent
d2e080a515
commit
8f8edbbf16
|
@ -82,7 +82,7 @@ public:
|
||||||
: m_overwrite(overwrite), m_globalErr(globalErr)
|
: m_overwrite(overwrite), m_globalErr(globalErr)
|
||||||
{
|
{
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
m_filename = utility::utf8ToWide(m_filename);
|
m_filename = utility::utf8ToWide(filename);
|
||||||
#else
|
#else
|
||||||
m_filename = filename;
|
m_filename = filename;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -17,7 +17,7 @@ FileWriter::FileWriter(const std::string& filename, bool overwrite, bool globalE
|
||||||
m_globalErr(globalErr)
|
m_globalErr(globalErr)
|
||||||
{
|
{
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
m_filename = utility::utf8ToWide(m_filename);
|
m_filename = utility::utf8ToWide(filename);
|
||||||
#else
|
#else
|
||||||
m_filename = filename;
|
m_filename = filename;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue