Merge pull request #3438 from Beep6581/fix-gcc6-warning

Fix "-Wignored-attributes" with vector arguments in `rtengine/median.h`
This commit is contained in:
Floessie 2016-09-29 08:04:49 +02:00 committed by GitHub
commit 87eea2f078

View File

@ -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)
{