mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-14 00:56:35 +00:00
sf-impl: remove debug condition
This commit is contained in:
parent
2cb8aadafc
commit
59140d8dfa
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ namespace sts::sf::impl {
|
||||||
constexpr inline uintptr_t GetAddress() const {
|
constexpr inline uintptr_t GetAddress() const {
|
||||||
static_assert(Offset <= Size, "Offset <= Size");
|
static_assert(Offset <= Size, "Offset <= Size");
|
||||||
static_assert(TypeSize <= Size, "TypeSize <= 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]);
|
return reinterpret_cast<uintptr_t>(&data[Offset]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue