Changeset 17849 for trunk


Ignore:
Timestamp:
05/13/14 17:12:44 (11 years ago)
Author:
tbretz
Message:
Made std::to_string ISDC-prove.
Location:
trunk/Mars/mcore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/MemoryManager.h

    r17292 r17849  
    149149            throw std::runtime_error("Cannot change the chunk size while there is memory in use");
    150150        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())+")");
    152152#else
    153153        if (getInUse() || getMaxMemory()<size)
  • trunk/Mars/mcore/zfits.h

    r17767 r17849  
    5151            return fits::IsFileOk();
    5252
    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());
    5454        return fits::IsFileOk() && rawsum;
    5555    };
Note: See TracChangeset for help on using the changeset viewer.