Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 28, 2005, 6:49:58 PM (18 years ago)
Author:
patrick
Message:

network: made some functions and arguments const, since they musn't change any data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/subprojects/network/simple_sync.h

    r5804 r5806  
    1616    ~SimpleSync();
    1717
    18     virtual void writeBytes(byte* data, int length);
    19     virtual int readBytes(byte* data);
     18    virtual void writeBytes(const byte* data, int length);
     19    virtual int readBytes(byte* data) const;
    2020
    2121
    2222  private:
    23     virtual void writeDebug();
    24     virtual void readDebug();
     23    virtual void writeDebug() const;
     24    virtual void readDebug() const;
    2525
    2626
Note: See TracChangeset for help on using the changeset viewer.