Commit 0ada2b3d authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Trying to avoid struct warnings

parent dff2fa61
......@@ -748,7 +748,7 @@ void CVANetMessage::ReadVAStruct( CVAStruct& oStruct )
{
int iNumSamples = ReadInt();
oStruct[ sKeyName ] = CVASampleBuffer( iNumSamples, false );
CVASampleBuffer& oSampleBuffer( oStruct[ sKeyName ] );
CVASampleBuffer& oSampleBuffer( oStruct[ sKeyName.c_str() ] );
for( int i = 0; i < iNumSamples; i++ )
oSampleBuffer.vfSamples[ i ] = ReadFloat();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment