Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Oct 31, 2023
1 parent de46b01 commit f3dd446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp-ch/local-engine/Shuffle/PartitionWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ void Partition::clear()
blocks.clear();
}

size_t Partition::spill(DB::NativeWriter & writer)
size_t Partition::spill(NativeWriter & writer)
{
std::unique_lock<std::mutex> lock(mtx, std::try_to_lock);
if (lock.owns_lock())
Expand Down
2 changes: 1 addition & 1 deletion cpp-ch/local-engine/Shuffle/PartitionWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Partition
void addBlock(DB::Block & block);
bool empty() const;
void clear();
size_t spill(DB::NativeWriter & writer);
size_t spill(NativeWriter & writer);

private:
std::vector<DB::Block> blocks;
Expand Down

0 comments on commit f3dd446

Please sign in to comment.