lewissbaker / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
3.37k stars 462 forks source link

file_read_openration.hpp has wrong #endif for non-windows compiler #150

Open heartsg opened 4 years ago

heartsg commented 4 years ago

the second last #endif is in wrong position so that the compiler reports somewhere wrong with the last }

Anyway the file_read_operation is not implemented for non-windows environment. I am not sure whether there is any plan or not but anyway the #endif is in wrong position. It should be

}

endif

endif

but not

endif

}

endif