Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed Apr 23, 2024
1 parent eb09455 commit 46bb4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/core/SimpleFunctionMetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ class SimpleFunctionMetadata : public ISimpleFunctionMetadata {
builder.returnType(analysis.outputType);
int32_t position = 0;
for (const auto& arg : analysis.argsTypes) {
if (ConstantChecker::isConstant[position++]) {
if (sizeof...(TArgs) > 0 && ConstantChecker::isConstant[position++]) {
builder.constantArgumentType(arg);
} else {
builder.argumentType(arg);
Expand Down

0 comments on commit 46bb4ac

Please sign in to comment.