Skip to content

Commit

Permalink
std namespace should be specified for transform
Browse files Browse the repository at this point in the history
Fixes build with some VS and clang version.
  • Loading branch information
JuriAbramov authored and nickrasmussen committed Aug 8, 2018
1 parent 056cb9f commit 4a00a9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenEXR/IlmImf/ImfDwaCompressor.cpp
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 4a00a9b

Please sign in to comment.