Changeset 17849 for trunk/Mars/mcore/MemoryManager.h
- Timestamp:
- 05/13/14 17:12:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/MemoryManager.h
r17292 r17849 149 149 throw std::runtime_error("Cannot change the chunk size while there is memory in use"); 150 150 if (getMaxMemory()<size) 151 throw std::runtime_error("Chunk size ("+std::to_string( size)+") larger than allowed memory ("+std::to_string(getMaxMemory())+")");151 throw std::runtime_error("Chunk size ("+std::to_string((long long int)size)+") larger than allowed memory ("+std::to_string((long long int)getMaxMemory())+")"); 152 152 #else 153 153 if (getInUse() || getMaxMemory()<size)
Note:
See TracChangeset
for help on using the changeset viewer.