Skip to content

Commit

Permalink
Declare HasValidityBitmap as a constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Jan 23, 2023
1 parent 16c6720 commit 420d1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ Result<std::shared_ptr<Schema>> UnifySchemas(

namespace internal {

static inline bool HasValidityBitmap(Type::type id) {
inline constexpr bool HasValidityBitmap(Type::type id) {
switch (id) {
case Type::NA:
case Type::DENSE_UNION:
Expand Down

0 comments on commit 420d1e5

Please sign in to comment.