Skip to content

Commit e4a1792

Browse files
committed
More const
1 parent 8ecb315 commit e4a1792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/util/int128.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Int128::Int128(const uint8_t* bytes)
6363
void Int128::ToBytes(uint8_t** out) const {
6464
DCHECK_NE(out, nullptr) << "Cannot fill nullptr of bytes from Int128";
6565
DCHECK_NE(*out, nullptr) << "Cannot fill nullptr of bytes from Int128";
66-
uint64_t raw[] = {static_cast<uint64_t>(high_bits_), low_bits_};
66+
const uint64_t raw[] = {static_cast<uint64_t>(high_bits_), low_bits_};
6767
std::memcpy(*out, raw, 16);
6868
}
6969

0 commit comments

Comments
 (0)