Changeset 17849
- Timestamp:
- 05/13/14 17:12:44 (11 years ago)
- Location:
- trunk/Mars/mcore
- Files:
-
- 2 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) -
trunk/Mars/mcore/zfits.h
r17767 r17849 51 51 return fits::IsFileOk(); 52 52 53 const bool rawsum = GetStr("RAWSUM") == std::to_string( fRawsum.val());53 const bool rawsum = GetStr("RAWSUM") == std::to_string((long long int)fRawsum.val()); 54 54 return fits::IsFileOk() && rawsum; 55 55 };
Note:
See TracChangeset
for help on using the changeset viewer.