diff --git a/ebml/EbmlElement.h b/ebml/EbmlElement.h index a04a7b9b..2adb9bf9 100644 --- a/ebml/EbmlElement.h +++ b/ebml/EbmlElement.h @@ -538,7 +538,7 @@ class EBML_DLL_API EbmlSemanticContextMaster : public EbmlSemanticContext { const EbmlSemantic *MyTable; ///< First element in the table }; -static inline const EbmlSemantic & tEBML_CTX_IDX(const EbmlSemanticContextMaster & c, std::size_t i) +static inline constexpr const EbmlSemantic & tEBML_CTX_IDX(const EbmlSemanticContextMaster & c, std::size_t i) { return c.GetSemantic(i); }