mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-21 12:51:52 +01:00
sf-impl: remove debug condition
This commit is contained in:
parent
2cb8aadafc
commit
59140d8dfa
@ -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…
x
Reference in New Issue
Block a user