From ec806eb3cce0f844ef156519e3cf599a7a17a52f Mon Sep 17 00:00:00 2001 From: vuule Date: Wed, 4 May 2022 10:52:39 -0700 Subject: [PATCH] docs; nodiscard --- cpp/src/io/parquet/reader_impl.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/io/parquet/reader_impl.cu b/cpp/src/io/parquet/reader_impl.cu index 4ea4a0465b6..06e87b8e0c4 100644 --- a/cpp/src/io/parquet/reader_impl.cu +++ b/cpp/src/io/parquet/reader_impl.cu @@ -335,9 +335,9 @@ class aggregate_reader_metadata { } /** - * @brief Merge the keyvalue maps from each per-file metadata object into a single map. + * @brief Collect the keyvalue maps from each per-file metadata object into a vector of maps. */ - auto collect_keyval_metadata() + [[nodiscard]] auto collect_keyval_metadata() { std::vector> kv_maps; std::transform(per_file_metadata.cbegin(),