18 Jun
2014
18 Jun
'14
8:49 p.m.
On 18 June 2014 12:59, Bjorn Reese
On 06/18/2014 08:48 PM, Nicholas Yue wrote:
write_msgs_.pop_front();
if (!write_msgs_.empty())
Swap these two lines; otherwise you do not write the last message.
Thanks for the heads up. Does that mean that the examples will example this problem ? http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/example/cpp03/chat/... as it does a pop before checking Cheers -- Nicholas Yue Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5 Custom Dev - C++ porting, OSX, Linux, Windows http://au.linkedin.com/in/nicholasyue https://vimeo.com/channels/naiadtools