Skip to content

Commit

Permalink
make EBML_CTX_IDX return a constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Feb 24, 2024
1 parent 8c84661 commit 7a24bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebml/EbmlElement.h
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ static inline constexpr const EbmlSemanticContext * EBML_CTX_PARENT(const EbmlSe
return c.Parent();
}

static inline const EbmlSemantic & EBML_CTX_IDX(const EbmlSemanticContext & c, std::size_t i)
static inline constexpr const EbmlSemantic & EBML_CTX_IDX(const EbmlSemanticContext & c, std::size_t i)
{
return c.GetSemantic(i);
}
Expand Down

0 comments on commit 7a24bba

Please sign in to comment.