Added a note about a TODO fix
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Thu, 1 Sep 2011 02:05:02 +0000 (23:05 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Thu, 1 Sep 2011 02:05:02 +0000 (23:05 -0300)
src/host/messagepayload.cpp

index 743cc34..801a9f8 100644 (file)
@@ -76,6 +76,8 @@ MessagePayload& MessagePayload::operator=( const MessagePayload &other )
     BOOST_ASSERT( Payload.get() != NULL );
     BOOST_ASSERT( other.Payload.get() != NULL );
 
+    // FIXME must resize the Payload in order to work
+
     copy( other.Payload.get(), other.Payload.get() + PayloadSizeInBytes, Payload.get() );
 
     BOOST_ASSERT( PayloadSizeInBytes == other.PayloadSizeInBytes );