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
+2 -4
View File
@@ -629,10 +629,8 @@ int Packer::patchPackHeader(void *b, int blen) {
return boff;
}
bool Packer::getPackHeader(void const *b, int blen, bool allow_incompressible)
{
if (!ph.fillPackHeader((unsigned char const *)b, blen))
bool Packer::getPackHeader(void const *b, int blen, bool allow_incompressible) {
if (!ph.fillPackHeader((unsigned char const *) b, blen))
return false;
if (ph.version > getVersion())