Changeset 739 for XIOS/trunk/src/node
- Timestamp:
- 10/15/15 15:15:09 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/grid.cpp
r731 r739 139 139 { 140 140 std::map<int, StdSize> dataSizes; 141 const size_t extraSize = CEventClient::headerSize + (id.empty() ? getId() : id).size() + sizeof(size_t); 141 // The record index is sometimes sent along with the data but we always 142 // include it in the size calculation for the sake of simplicity 143 const size_t extraSize = CEventClient::headerSize + (id.empty() ? getId() : id).size() + 2 * sizeof(size_t); 142 144 143 145 std::map<int, size_t>::const_iterator itb = connectedDataSize_.begin(), it, itE = connectedDataSize_.end();
Note: See TracChangeset
for help on using the changeset viewer.