Skip to content

Commit

Permalink
Merge pull request #208 from dbechrd/patch-4
Browse files Browse the repository at this point in the history
You can't return a value from a void function
  • Loading branch information
gafferongames authored Oct 1, 2024
2 parents c4b3ed5 + 0f898c7 commit c868d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/yojimbo_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ namespace yojimbo
{
yojimbo_assert( channelIndex >= 0 );
yojimbo_assert( channelIndex < m_connectionConfig.numChannels );
return m_channel[channelIndex]->SendMessage( message, context );
m_channel[channelIndex]->SendMessage( message, context );
}

Message * Connection::ReceiveMessage( int channelIndex )
Expand Down

0 comments on commit c868d55

Please sign in to comment.