mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-25 12:32:41 +02:00
sf-impl: remove debug condition
This commit is contained in:
parent
d1ae859891
commit
f1a77be02a
@ -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 New Issue
Block a user