Skip to content

Commit 7a24bba

Browse files
committed
make EBML_CTX_IDX return a constexpr
1 parent 8c84661 commit 7a24bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebml/EbmlElement.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ static inline constexpr const EbmlSemanticContext * EBML_CTX_PARENT(const EbmlSe
474474
return c.Parent();
475475
}
476476

477-
static inline const EbmlSemantic & EBML_CTX_IDX(const EbmlSemanticContext & c, std::size_t i)
477+
static inline constexpr const EbmlSemantic & EBML_CTX_IDX(const EbmlSemanticContext & c, std::size_t i)
478478
{
479479
return c.GetSemantic(i);
480480
}

0 commit comments

Comments
 (0)