10-04-2014, 06:12 AM
(This post was last modified: 10-04-2014, 06:12 AM by daniel0916.)
Why can't i use "ePacketSide & a_PacketStreamSide = E_SERVER_PACKET"?
error: could not convert ‘E_SERVER_PACKET’ from ‘cPacketModifier::ePacketSide’ to ‘cPacketModifier::ePacketSide&’
The enum ist this:
I need to change the parameter of the method so i need a reference...
error: could not convert ‘E_SERVER_PACKET’ from ‘cPacketModifier::ePacketSide’ to ‘cPacketModifier::ePacketSide&’
The enum ist this:
Code:
enum ePacketSide {
E_SERVER_PACKET = 0,
E_CLIENT_PACKET = 1
};
I need to change the parameter of the method so i need a reference...