Remove useless parameter from implementation

This commit is contained in:
Alexey Rybalchenko
2020-12-21 11:56:18 +01:00
parent 38b34785e0
commit 02a3980343
3 changed files with 6 additions and 8 deletions

View File

@@ -196,7 +196,7 @@ class Message final : public fair::mq::Message
return true;
} else if (newSize <= fMeta.fSize) {
try {
fLocalPtr = fManager.ShrinkInPlace(fMeta.fSize, newSize, fLocalPtr, fMeta.fSegmentId);
fLocalPtr = fManager.ShrinkInPlace(newSize, fLocalPtr, fMeta.fSegmentId);
fMeta.fSize = newSize;
return true;
} catch (boost::interprocess::interprocess_exception& e) {