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:
parent
ce891c990f
commit
52114760b3
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue