Cleanups: start working on -Wsuggest-override, add some "final". NFCI.

This commit is contained in:
Markus F.X.J. Oberhumer
2021-03-28 21:19:29 +02:00
parent 1518e5bc98
commit f6ff5a2805
18 changed files with 135 additions and 127 deletions
+7 -2
View File
@@ -84,9 +84,14 @@ struct AbstractPolicy {
};
#endif
#if defined(BELE_RTP)
#undef C
#define C const override
#endif
struct BEPolicy
#if defined(BELE_RTP)
: public AbstractPolicy
final : public AbstractPolicy
#endif
{
inline BEPolicy() {}
@@ -142,7 +147,7 @@ struct BEPolicy
struct LEPolicy
#if defined(BELE_RTP)
: public AbstractPolicy
final : public AbstractPolicy
#endif
{
inline LEPolicy() {}