diff --git a/cpp/include/cudf/io/detail/csv.hpp b/cpp/include/cudf/io/detail/csv.hpp index 44aa21d0fda..90d730338fc 100644 --- a/cpp/include/cudf/io/detail/csv.hpp +++ b/cpp/include/cudf/io/detail/csv.hpp @@ -53,7 +53,7 @@ table_with_metadata read_csv(std::unique_ptr&& source, */ void write_csv(data_sink* sink, table_view const& table, - std::vector const& column_names, + host_span column_names, csv_writer_options const& options, rmm::cuda_stream_view stream, rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource()); diff --git a/cpp/src/io/csv/writer_impl.cu b/cpp/src/io/csv/writer_impl.cu index 02d4cfd9db9..7230b455d4a 100644 --- a/cpp/src/io/csv/writer_impl.cu +++ b/cpp/src/io/csv/writer_impl.cu @@ -279,7 +279,7 @@ struct column_to_strings_fn { // void write_chunked_begin(data_sink* out_sink, table_view const& table, - std::vector const& user_column_names, + host_span user_column_names, csv_writer_options const& options, rmm::cuda_stream_view stream, rmm::mr::device_memory_resource* mr) @@ -398,7 +398,7 @@ void write_chunked(data_sink* out_sink, void write_csv(data_sink* out_sink, table_view const& table, - std::vector const& user_column_names, + host_span user_column_names, csv_writer_options const& options, rmm::cuda_stream_view stream, rmm::mr::device_memory_resource* mr)