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

@@ -565,9 +565,9 @@ class Manager
#endif
}
char* ShrinkInPlace(size_t oldSize, size_t newSize, char* localPtr, uint16_t segmentId)
char* ShrinkInPlace(size_t newSize, char* localPtr, uint16_t segmentId)
{
return boost::apply_visitor(SegmentBufferShrink{oldSize, newSize, localPtr}, fSegments.at(segmentId));
return boost::apply_visitor(SegmentBufferShrink{newSize, localPtr}, fSegments.at(segmentId));
}
uint16_t GetSegmentId() const { return fSegmentId; }