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 KevinJW committed Nov 12, 2015
1 parent d77a0be commit 30cbf49
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 30cbf49

Please sign in to comment.