Merge pull request #3438 from Beep6581/fix-gcc6-warning
Fix "-Wignored-attributes" with vector arguments in `rtengine/median.h`
This commit is contained in:
commit
87eea2f078
@ -34,6 +34,10 @@
|
||||
|
||||
#include "opthelper.h"
|
||||
|
||||
#if defined __GNUC__ && __GNUC__>=6 && defined __SSE2__
|
||||
#pragma GCC diagnostic ignored "-Wignored-attributes"
|
||||
#endif
|
||||
|
||||
template<typename T, std::size_t N>
|
||||
inline T median(std::array<T, N> array)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user