mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-05 09:13:43 -04:00
libstrat: fix compilation without pre-compiled header/without lto
This commit is contained in:
parent
7ca83c9d3b
commit
e8f1efd01b
37 changed files with 89 additions and 33 deletions
|
@ -412,6 +412,9 @@ namespace ams::htc::server::rpc {
|
|||
}
|
||||
|
||||
s32 RpcClient::GetTaskHandle(u32 task_id) {
|
||||
/* TODO: Why is this necessary to avoid a bogus array-bounds warning? */
|
||||
AMS_ASSUME(task_id < MaxRpcCount);
|
||||
|
||||
/* Check pre-conditions. */
|
||||
AMS_ASSERT(m_task_active[task_id]);
|
||||
AMS_ASSERT(m_is_htcs_task[task_id]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue