Skip to content

Commit

Permalink
fix windows
Browse files Browse the repository at this point in the history
Signed-off-by: dentiny <[email protected]>
  • Loading branch information
dentiny committed Jan 21, 2025
1 parent c49b0f2 commit 7b42992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ray/util/pipe_logger.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class RedirectionFileHandle {
RAY_CHECK_EQ(bytes_written, static_cast<ssize_t>(len));
}
#elif defined(_WIN32)
void CompleteWrite(char *data, size_t len) {
void CompleteWrite(const char *data, size_t len) {
DWORD bytes_written = 0;
WriteFile(write_handle_, data, len, &bytes_written, nullptr);
}
Expand Down
1 change: 1 addition & 0 deletions src/ray/util/tests/pipe_logger_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <cstdint>
#include <filesystem>
#include <cstdlib>
#include <future>
#include <string_view>

Expand Down

0 comments on commit 7b42992

Please sign in to comment.