mirror of https://github.com/bsnes-emu/bsnes
hiro/qt: Silence missing override warning in Clang for moc code
With Qt 6 maybe it is possible to finally start cleaning that issue up in the first place, but for now it's probably better for bsnes and ares to align closer. This is backported from the following ares commits:0d131bf4d8960d8a8dcbCo-authored-by: Near <77224854+near-san@users.noreply.github.com> Co-authored-by: invertego <invertego@users.noreply.github.com>
This commit is contained in:
parent
924fa315dc
commit
d3a3280f90
|
|
@ -1,5 +1,12 @@
|
||||||
|
#if defined(COMPILER_CLANG)
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Winconsistent-missing-override"
|
||||||
|
#endif
|
||||||
#include "qt.hpp"
|
#include "qt.hpp"
|
||||||
#include "qt.moc"
|
#include "qt.moc"
|
||||||
|
#if defined(COMPILER_CLANG)
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#endif
|
||||||
#include "platform.hpp"
|
#include "platform.hpp"
|
||||||
|
|
||||||
#include "utility.cpp"
|
#include "utility.cpp"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue