Skip to content

Commit

Permalink
Merge pull request #133 from JuriAbramov/patch-1
Browse files Browse the repository at this point in the history
std namespace should be specified for transform
  • Loading branch information
kdt3rd authored May 4, 2018
2 parents 0b9403a + 85ef605 commit 0cf11d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenEXR/IlmImf/ImfDwaCompressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ struct DwaCompressor::Classifier
_caseInsensitive(caseInsensitive)
{
if (caseInsensitive)
transform(_suffix.begin(), _suffix.end(), _suffix.begin(), tolower);
std::transform(_suffix.begin(), _suffix.end(), _suffix.begin(), tolower);
}

Classifier (const char *&ptr, int size)
Expand Down Expand Up @@ -305,7 +305,7 @@ struct DwaCompressor::Classifier
if (_caseInsensitive)
{
std::string tmp(suffix);
transform(tmp.begin(), tmp.end(), tmp.begin(), tolower);
std::transform(tmp.begin(), tmp.end(), tmp.begin(), tolower);
return tmp == _suffix;
}

Expand Down

0 comments on commit 0cf11d7

Please sign in to comment.