summaryrefslogtreecommitdiffstats
path: root/src/eval_env.cc
diff options
context:
space:
mode:
authorThiago Farina <tfarina@chromium.org>2015-12-04 22:31:19 (GMT)
committerThiago Farina <tfarina@chromium.org>2015-12-04 22:31:19 (GMT)
commit336814c4ecb7993b994567527c27e0915dc207fb (patch)
tree0717eac4ec9d296b442d29d536b558d958347353 /src/eval_env.cc
parent9d7213e43dcc66f2dccee3e6a97aacd700947671 (diff)
downloadNinja-336814c4ecb7993b994567527c27e0915dc207fb.zip
Ninja-336814c4ecb7993b994567527c27e0915dc207fb.tar.gz
Ninja-336814c4ecb7993b994567527c27e0915dc207fb.tar.bz2
make use of Bindings typedef
Looks like we declared this typedef but never used it. It seems we just forgot to use it so this patch makes uses of it now. Otherwise we could just delete it.
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 e991d21..937a673 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;