components/openexr/patches/007-ImfDwaCompressor.patch
changeset 7697 8a41b565423d
equal deleted inserted replaced
7696:3d9ec1a1fe4e 7697:8a41b565423d
       
     1 Uses std::transform to allow compiler to find transform.
       
     2 Will not send upstream.
       
     3 
       
     4 --- IlmImf/ImfDwaCompressor.cpp	2016-11-17 13:58:52.789434004 +0000
       
     5 +++ IlmImf/ImfDwaCompressor.cpp	2016-11-17 13:59:23.065747841 +0000
       
     6 @@ -255,7 +255,7 @@
       
     7          _caseInsensitive(caseInsensitive)
       
     8      {
       
     9          if (caseInsensitive) 
       
    10 -            transform(_suffix.begin(), _suffix.end(), _suffix.begin(), tolower);
       
    11 +            std::transform(_suffix.begin(), _suffix.end(), _suffix.begin(), tolower);
       
    12      }
       
    13  
       
    14      Classifier (const char *&ptr, int size)
       
    15 @@ -304,7 +304,7 @@
       
    16          if (_caseInsensitive) 
       
    17          {
       
    18              std::string tmp(suffix);
       
    19 -            transform(tmp.begin(), tmp.end(), tmp.begin(), tolower);
       
    20 +            std::transform(tmp.begin(), tmp.end(), tmp.begin(), tolower);
       
    21              return tmp == _suffix;
       
    22          }
       
    23