Changeset 17976 for trunk/Mars/mcore


Ignore:
Timestamp:
09/30/14 00:44:15 (10 years ago)
Author:
mknoetig
Message:
mknoetig: Added static cast to resolve the ambiguous overloaded to_string that was making problems in pre C++11 compiler (aka ISDC)
File:
1 edited

Legend:

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

    r17009 r17976  
    271271#ifdef __EXCEPTIONS
    272272        if (l!=416)
    273             throw std::runtime_error("Number of lines ("+std::to_string(l)+") read from "+fname+" does not match 416.");
     273          throw std::runtime_error("Number of lines ("+std::to_string(static_cast<long long>(l))+") read from "+fname+" does not match 416.");
    274274
    275275        if (size()!=416)
Note: See TracChangeset for help on using the changeset viewer.