Fix some -Weffc++ warnings (part 1)

This commit is contained in:
Nekotekina 2021-03-30 18:31:46 +03:00
parent deacf05769
commit 2212a131ef
24 changed files with 162 additions and 56 deletions

View file

@ -3,6 +3,11 @@
#include "util/types.hpp"
#include "Utilities/StrFmt.h"
#ifndef _MSC_VER
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Weffc++"
#endif
template<typename T, uint N>
struct bf_base
{
@ -250,6 +255,10 @@ struct ff_t : bf_base<T, N>
}
};
#ifndef _MSC_VER
#pragma GCC diagnostic pop
#endif
template<typename T, uint I, uint N>
struct fmt_unveil<bf_t<T, I, N>, void>
{