summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-09-07 20:26:52 (GMT)
committerEvan Martin <martine@danga.com>2012-09-07 20:26:52 (GMT)
commitfcbfc161e758f22e8dfee4a8b5b3feaca1db86ff (patch)
tree6aaa2b3b6c06739aad79e384938b546311c63957
parent0c64d16e8945040cb02376a23d9e521b0382cc98 (diff)
downloadNinja-fcbfc161e758f22e8dfee4a8b5b3feaca1db86ff.zip
Ninja-fcbfc161e758f22e8dfee4a8b5b3feaca1db86ff.tar.gz
Ninja-fcbfc161e758f22e8dfee4a8b5b3feaca1db86ff.tar.bz2
scoping workaround for gcc on Windows
From https://github.com/martine/ninja/issues/410.
-rw-r--r--src/includes_normalize-win32.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/includes_normalize-win32.cc b/src/includes_normalize-win32.cc
index 134cfb8..4bc8756 100644
--- a/src/includes_normalize-win32.cc
+++ b/src/includes_normalize-win32.cc
@@ -61,7 +61,7 @@ vector<string> IncludesNormalize::Split(const string& input, char sep) {
string IncludesNormalize::ToLower(const string& s) {
string ret;
- transform(s.begin(), s.end(), back_inserter(ret), tolower);
+ transform(s.begin(), s.end(), back_inserter(ret), ::tolower);
return ret;
}