Cleanups: start working on -Wsuggest-override, add some "final". NFCI.
This commit is contained in:
+2
-4
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user