sf-impl: remove debug condition

This commit is contained in:
Michael Scire 2019-10-14 23:23:11 -07:00 committed by SciresM
parent 2cb8aadafc
commit 59140d8dfa

View file

@ -581,7 +581,7 @@ namespace sts::sf::impl {
constexpr inline uintptr_t GetAddress() const {
static_assert(Offset <= Size, "Offset <= Size");
static_assert(TypeSize <= Size, "TypeSize <= Size");
static_assert(Offset + TypeSize <= Size || false, "Offset + TypeSize <= Size");
static_assert(Offset + TypeSize <= Size, "Offset + TypeSize <= Size");
return reinterpret_cast<uintptr_t>(&data[Offset]);
}