Cinder-Asio
Cinder-Asio copied to clipboard
ci::Buffer moving to a regular container
Hey, after doing a quick survey I noticed that there are some places where ci::Buffer
s are being passed by value (like in the various onRead()
methods). Where this was almost free before, it will now cause the Buffer
to be copied, so once this goes through you'll probably want to either update those to be BufferRef
s or pass by const&.
Looks like this might be the only issue preventing Cinder-Asio to be used on the current master branch.
This seems to be all sorted in ec8ce36.