1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-13 23:46:40 +00:00

Ignore unused-but-set-variable in ipc_templating.h

This commit is contained in:
TuxSH 2018-05-15 00:44:10 +02:00
parent ce891c990f
commit 52114760b3

View file

@ -6,6 +6,9 @@
#include "../boost/callable_traits.hpp" #include "../boost/callable_traits.hpp"
#include <type_traits> #include <type_traits>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
/* Represents an A descriptor. */ /* Represents an A descriptor. */
template <typename T> template <typename T>
struct InBuffer { struct InBuffer {
@ -462,3 +465,5 @@ Result WrapStaticIpcCommandImpl(IpcParsedCommand& r, IpcCommand &out_command, u8
return std::apply(Encoder<OutArgs>{out_command}, result); return std::apply(Encoder<OutArgs>{out_command}, result);
} }
#pragma GCC diagnostic pop