1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:38:12 +00:00

ABuffer: move it and groove it

This commit is contained in:
Robin Burchell 2019-07-17 09:42:58 +02:00 committed by Andreas Kling
parent 2df6f0e87f
commit ed25d524f2
3 changed files with 4 additions and 4 deletions

View file

@ -217,5 +217,5 @@ RefPtr<ABuffer> ABuffer::from_pcm_data(ByteBuffer& data, int num_channels, int b
// don't belong.
ASSERT(!stream.handle_read_failure());
return adopt(*new ABuffer(fdata));
return adopt(*new ABuffer(move(fdata)));
}