- Timestamp:
- Feb 28, 2009, 12:47:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem3/src/network/synchronisable/SynchronisableVariable.cc
r2706 r2707 363 363 double temp; 364 364 memcpy(&temp, mem, sizeof(uint64_t)); 365 //*(uint64_t*)(&temp) = *(uint64_t*)(mem);366 365 *(long double*)(&this->variable_) = static_cast<const long double>(temp); 367 366 mem += SynchronisableVariable<const long double>::returnSize(); … … 379 378 double temp = static_cast<double>(this->variable_); 380 379 return memcmp(&temp, mem, sizeof(uint64_t))==0; 381 //return *(uint64_t*)(mem) == *(uint64_t*)(&temp);382 380 } 383 381
Note: See TracChangeset
for help on using the changeset viewer.