Skip to content

Commit

Permalink
ARROW-14208: [C++] Fix compilation on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Oct 4, 2021
1 parent 646a85e commit 8149624
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Result<std::shared_ptr<ResizableBuffer>> KernelContext::AllocateBitmap(int64_t n
AllocateResizableBuffer(nbytes, exec_ctx_->memory_pool()));
// Since bitmaps are typically written bit by bit, we could leak uninitialized bits.
// Make sure all memory is initialized (this also appeases Valgrind).
internal::ZeroMemory(result.get());
std::memset(result->mutable_data(), 0, result->size());
return result;
}

Expand Down
32 changes: 0 additions & 32 deletions cpp/src/arrow/compute/util_internal.h

This file was deleted.

0 comments on commit 8149624

Please sign in to comment.