refs 17, copy & paste error broke the build

This commit is contained in:
Steffen Schuemann 2019-06-02 11:01:01 +02:00
parent d80948287e
commit 2aa08c17c1

View File

@ -927,7 +927,7 @@ public:
const basic_filebuf& operator=(const basic_filebuf&) = delete;
basic_filebuf<charT, traits>* open(const path& p, std::ios_base::openmode mode)
{
#if defined(GHC_OS_WINDOWS) && && !defined(__GNUC__)
#if defined(GHC_OS_WINDOWS) && !defined(__GNUC__)
return std::basic_filebuf<charT, traits>::open(p.wstring().c_str(), mode) ? this : 0;
#else
return std::basic_filebuf<charT, traits>::open(p.c_str(), mode) ? this : 0;
@ -940,7 +940,7 @@ class basic_ifstream : public std::basic_ifstream<charT, traits>
{
public:
basic_ifstream() {}
#if defined(GHC_OS_WINDOWS) && && !defined(__GNUC__)
#if defined(GHC_OS_WINDOWS) && !defined(__GNUC__)
explicit basic_ifstream(const path& p, std::ios_base::openmode mode = std::ios_base::in)
: std::basic_ifstream<charT, traits>(p.wstring().c_str(), mode)
{