That is perfect, I didn't even think of the move constructor. I'll double check the code, but I'm pretty sure I saw the buffer was a smart pointer.
That is perfect, I didn't even think of the move constructor. I'll double check the code, but I'm pretty sure I saw the buffer was a smart pointer.