Skip to content

Commit f83c8ca

Browse files
AntoinePrvraulcd
authored andcommitted
GH-50330: [C++][R][Parquet] Add missing typename in RleBitPackedDecoderGetRunDecode (#50332)
### Rationale for this change Fix compiler error. ### What changes are included in this PR? Missing typename keyword. ### Are these changes tested? In CI. ### Are there any user-facing changes? No. * GitHub Issue: #50330 Authored-by: AntoinePrv <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 35e0f63 commit f83c8ca

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎cpp/src/arrow/util/rle_encoding_internal.h‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,8 @@ auto RleBitPackedDecoder<T>::GetBatch(value_type* out,
811811
}
812812

813813
parser_.ParseWithCallable([&](auto run) {
814-
using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
814+
using RunDecoder =
815+
typename RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
815816

816817
ARROW_DCHECK_LT(values_read, batch_size);
817818
RunDecoder decoder(run, value_bit_width_);
@@ -1124,7 +1125,8 @@ auto RleBitPackedDecoder<T>::GetSpaced(Converter converter,
11241125
}
11251126

11261127
parser_.ParseWithCallable([&](auto run) {
1127-
using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
1128+
using RunDecoder =
1129+
typename RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
11281130

11291131
RunDecoder decoder(run, value_bit_width_);
11301132

@@ -1306,7 +1308,8 @@ auto RleBitPackedDecoder<T>::GetBatchWithDict(const V* dictionary,
13061308
}
13071309

13081310
parser_.ParseWithCallable([&](auto run) {
1309-
using RunDecoder = RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
1311+
using RunDecoder =
1312+
typename RleBitPackedDecoderGetRunDecoder<value_type, decltype(run)>::type;
13101313

13111314
RunDecoder decoder(run, value_bit_width_);
13121315

0 commit comments

Comments
 (0)