Skip to content

Commit 2aa08c1

Browse files
committed
refs 17, copy & paste error broke the build
1 parent d809482 commit 2aa08c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ghc/filesystem.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ class basic_filebuf : public std::basic_filebuf<charT, traits>
927927
const basic_filebuf& operator=(const basic_filebuf&) = delete;
928928
basic_filebuf<charT, traits>* open(const path& p, std::ios_base::openmode mode)
929929
{
930-
#if defined(GHC_OS_WINDOWS) && && !defined(__GNUC__)
930+
#if defined(GHC_OS_WINDOWS) && !defined(__GNUC__)
931931
return std::basic_filebuf<charT, traits>::open(p.wstring().c_str(), mode) ? this : 0;
932932
#else
933933
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>
940940
{
941941
public:
942942
basic_ifstream() {}
943-
#if defined(GHC_OS_WINDOWS) && && !defined(__GNUC__)
943+
#if defined(GHC_OS_WINDOWS) && !defined(__GNUC__)
944944
explicit basic_ifstream(const path& p, std::ios_base::openmode mode = std::ios_base::in)
945945
: std::basic_ifstream<charT, traits>(p.wstring().c_str(), mode)
946946
{

0 commit comments

Comments
 (0)