| 162 | } |
| 163 | |
| 164 | void HeapData::addMemory( unsigned size ) |
| 165 | { |
| 166 | if ( ( _data = T::realloc( _data, _size + size ) ) == NULL ) |
| 167 | throw CommonError( CommonError::NOT_ENOUGH_MEMORY ); |
| 168 | } |
| 169 | |
| 170 | void HeapData::copyNewData( const void *newData, unsigned size ) |
| 171 | { |
nothing calls this directly
no test coverage detected