Author Topic: const correctness  (Read 1980 times)

JordanWeber

  • Not-a-newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
const correctness
« on: July 01, 2014, 03:45:35 AM »
Just a minor request (I don't know what the standard bug report protocol is sorry):


RakNetTypes.h  / RakNetTypes.cpp
AddressOrGUID( Packet *packet );
AddressOrGUID::AddressOrGUID( Packet *packet )

Change to:

RakNetTypes.h  / RakNetTypes.cpp
AddressOrGUID( const Packet *packet );
AddressOrGUID::AddressOrGUID(const Packet *packet )