From 59140d8dfaeeb859d52d3b7586bf736b94cf5607 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Mon, 14 Oct 2019 23:23:11 -0700 Subject: [PATCH] sf-impl: remove debug condition --- .../stratosphere/sf/impl/sf_impl_command_serialization.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/libstratosphere/include/stratosphere/sf/impl/sf_impl_command_serialization.hpp b/stratosphere/libstratosphere/include/stratosphere/sf/impl/sf_impl_command_serialization.hpp index e71677783..d6056b2c6 100644 --- a/stratosphere/libstratosphere/include/stratosphere/sf/impl/sf_impl_command_serialization.hpp +++ b/stratosphere/libstratosphere/include/stratosphere/sf/impl/sf_impl_command_serialization.hpp @@ -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(&data[Offset]); }