Skip to content

Commit 82cd826

Browse files
committed
make EBML_CTX_IDX return a constexpr
1 parent fd13595 commit 82cd826

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
@@ -538,7 +538,7 @@ class EBML_DLL_API EbmlSemanticContextMaster : public EbmlSemanticContext {
538538
const EbmlSemantic *MyTable; ///< First element in the table
539539
};
540540

541-
static inline const EbmlSemantic & tEBML_CTX_IDX(const EbmlSemanticContextMaster & c, std::size_t i)
541+
static inline constexpr const EbmlSemantic & tEBML_CTX_IDX(const EbmlSemanticContextMaster & c, std::size_t i)
542542
{
543543
return c.GetSemantic(i);
544544
}

0 commit comments

Comments
 (0)