Remove rdcarray sized constructor

This commit is contained in:
baldurk
2022-11-09 13:22:53 +00:00
parent 2cf7b911c7
commit 2e276a7f84
17 changed files with 64 additions and 39 deletions
+2 -1
View File
@@ -2152,7 +2152,8 @@ void ReplayProxy::DeltaTransferBytes(SerialiserType &xferser, bytebuf &reference
}
// serialise as an array, move the storage from the list into here
rdcarray<DeltaSection> deltas(deltasList.size());
rdcarray<DeltaSection> deltas;
deltas.resize(deltasList.size());
{
// swap between the list and array, so all the buffers just move storage