Skip to content

Commit

Permalink
More const
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 23, 2017
1 parent 8ecb315 commit e4a1792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/util/int128.cc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Int128::Int128(const uint8_t* bytes)
void Int128::ToBytes(uint8_t** out) const {
DCHECK_NE(out, nullptr) << "Cannot fill nullptr of bytes from Int128";
DCHECK_NE(*out, nullptr) << "Cannot fill nullptr of bytes from Int128";
uint64_t raw[] = {static_cast<uint64_t>(high_bits_), low_bits_};
const uint64_t raw[] = {static_cast<uint64_t>(high_bits_), low_bits_};
std::memcpy(*out, raw, 16);
}

Expand Down

0 comments on commit e4a1792

Please sign in to comment.