Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jul 4, 2024
1 parent 95a3eaf commit 2c955e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cinatra/ylt/coro_io/coro_file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class seq_coro_file {
else {
#if defined(ENABLE_FILE_IO_URING) || defined(ASIO_WINDOWS)
return open_native_async_file<true>(async_seq_file_, executor_wrapper_,
filepath, to_flags(open_flags), true);
filepath, to_flags(open_flags));
#else
return open_stream_file_in_pool(filepath, open_flags);
#endif
Expand Down Expand Up @@ -372,7 +372,7 @@ class random_coro_file {
#if defined(ENABLE_FILE_IO_URING) || defined(ASIO_WINDOWS)
return open_native_async_file<false>(async_random_file_,
executor_wrapper_, filepath,
to_flags(open_flags), true);
to_flags(open_flags));
#else
return open_fd(filepath, to_flags(open_flags));
#endif
Expand Down

0 comments on commit 2c955e7

Please sign in to comment.