Skip to content

Commit

Permalink
Adding typename for dependent names for disambiguration purpose.
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZhihao-723 authored Apr 25, 2024
1 parent 67003c2 commit 2d570a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/ffi_go/ir/decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace {
void* ir_decoder,
StringView* log_msg_view
) -> int {
using encoded_var_t = std::conditional<
using encoded_var_t = typename std::conditional<
std::is_same_v<Int64tSpan, encoded_var_view_t>,
ffi::eight_byte_encoded_variable_t,
ffi::four_byte_encoded_variable_t>::type;
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/ffi_go/ir/encoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace {
StringView* dict_vars,
Int32tSpan* dict_var_end_offsets
) -> int {
using encoded_var_t = std::conditional<
using encoded_var_t = typename std::conditional<
std::is_same_v<Int64tSpan, encoded_var_view_t>,
ffi::eight_byte_encoded_variable_t,
ffi::four_byte_encoded_variable_t>::type;
Expand Down

0 comments on commit 2d570a8

Please sign in to comment.