summaryrefslogtreecommitdiffstats
path: root/src/eval_env.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2015-12-06 19:17:17 (GMT)
committerEvan Martin <martine@danga.com>2015-12-06 19:17:17 (GMT)
commitbe10fe342e7fa30a65c6567e336705a91a90a14c (patch)
treebc76734e54d2003452aa9f415940ef1b38c84b80 /src/eval_env.cc
parent21312d23c60e97d154c256e26af4fac9daf89c5c (diff)
parent336814c4ecb7993b994567527c27e0915dc207fb (diff)
downloadNinja-be10fe342e7fa30a65c6567e336705a91a90a14c.zip
Ninja-be10fe342e7fa30a65c6567e336705a91a90a14c.tar.gz
Ninja-be10fe342e7fa30a65c6567e336705a91a90a14c.tar.bz2
Merge pull request #1062 from tfarina/bindings-typedef
make use of Bindings typedef
Diffstat (limited to 'src/eval_env.cc')
-rw-r--r--src/eval_env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval_env.cc b/src/eval_env.cc
index 0abfdda..8817a87 100644
--- a/src/eval_env.cc
+++ b/src/eval_env.cc
@@ -55,7 +55,7 @@ void Rule::AddBinding(const string& key, const EvalString& val) {
}
const EvalString* Rule::GetBinding(const string& key) const {
- map<string, EvalString>::const_iterator i = bindings_.find(key);
+ Bindings::const_iterator i = bindings_.find(key);
if (i == bindings_.end())
return NULL;
return &i->second;