Skip to content

Commit

Permalink
Slightly more correct cref()
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Sep 18, 2023
1 parent 2767ea3 commit 3e40b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vroom_write.cc
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ void vroom_write_out(
auto end = begin + num_lines;
futures[idx][t++] = std::async(
fill_buf,
std::ref(input),
std::cref(input),
delim,
eol,
na_str,
Expand Down Expand Up @@ -526,7 +526,7 @@ void vroom_write_out(
auto end = begin + num_lines;
futures[idx][t++] = std::async(
fill_buf,
std::ref(input),
std::cref(input),
delim,
eol,
na_str,
Expand Down

0 comments on commit 3e40b18

Please sign in to comment.