Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: Murphy <[email protected]>
  • Loading branch information
murphyatwork committed Sep 20, 2024
1 parent 9c9ba6f commit 2cd8564
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion be/src/storage/chunk_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ SegmentedColumn::SegmentedColumn(SegmentedChunkPtr chunk, size_t column_index) :
}
}

SegmentedColumn::SegmentedColumn(const std::vector<ColumnPtr>& columns) : _columns(columns) {}
SegmentedColumn::SegmentedColumn(std::vector<ColumnPtr> columns) : _columns(std::move(columns)) {}

ColumnPtr SegmentedColumn::clone_selective(const uint32_t* indexes, uint32_t from, uint32_t size) {
SegmentedColumnSelectiveCopy visitor(shared_from_this(), indexes, from, size);
Expand Down
2 changes: 1 addition & 1 deletion be/src/storage/chunk_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class ChunkPipelineAccumulator {
class SegmentedColumn final : public std::enable_shared_from_this<SegmentedColumn> {
public:
SegmentedColumn(SegmentedChunkPtr chunk, size_t column_index);
SegmentedColumn(const std::vector<ColumnPtr>& columns);
SegmentedColumn(std::vector<ColumnPtr> columns);
~SegmentedColumn() = default;

ColumnPtr clone_selective(const uint32_t* indexes, uint32_t from, uint32_t size);
Expand Down

0 comments on commit 2cd8564

Please sign in to comment.