Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2007, 11:30:17 PM (16 years ago)
Author:
nicolasc
Message:

cleaned up network, builds with CML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merger/src/network/Synchronisable.cc

    r278 r285  
    22// C++ Implementation: synchronisable
    33//
    4 // Description: 
     4// Description:
    55//
    66//
     
    1010//
    1111
    12 #include "network/Synchronisable.h"
     12#include "Synchronisable.h"
    1313
    1414namespace network {
     
    2727Synchronisable::~Synchronisable()
    2828{
    29  
     29
    3030}
    3131
     
    7272  int n=0;
    7373  for(i=syncList.begin(); n<totalsize && i!=syncList.end(); i++){
    74         //CHANGED: i->size TO (const void*)(&(i->size)) memcpy WANTS A CONST VOID* SO CONVERT INT TO CONST VOID* 
     74        //CHANGED: i->size TO (const void*)(&(i->size)) memcpy WANTS A CONST VOID* SO CONVERT INT TO CONST VOID*
    7575    std::memcpy(retVal.data+n, (const void*)(i->size), sizeof(int));
    7676    n+=sizeof(int);
     
    102102  int n=0;
    103103  for(i=syncList.begin(); n<datasize && i!=syncList.end(); i++){
    104         //CHANGED: i->size TO (const void*)(&(i->size)) memcpy WANTS A CONST VOID* SO CONVERT INT TO CONST VOID* 
     104        //CHANGED: i->size TO (const void*)(&(i->size)) memcpy WANTS A CONST VOID* SO CONVERT INT TO CONST VOID*
    105105    std::memcpy(retVal.data+n, (const void*)(i->size), sizeof(int));
    106106    n+=sizeof(int);
Note: See TracChangeset for help on using the changeset viewer.