Correction to previous Clang strict warning commit
Need to only pop diagnostic if it was really pushed. Pointed out by Aras Pranckevicius, thanks!
This commit is contained in:
parent
b73c265974
commit
ad77b52abc
|
@ -273,7 +273,7 @@ constexpr FormattingSyntax syntax_elem_to_formatting(const eMTLSyntaxElement key
|
|||
}
|
||||
}
|
||||
}
|
||||
#if defined __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
# pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue