Skip to content

Commit d99eea2

Browse files
committed
make EBML_CTX_IDX return a constexpr
1 parent f288c5f commit d99eea2

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

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

0 commit comments

Comments
 (0)