summaryrefslogtreecommitdiff
path: root/fast/test_grammar.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-08-05 22:46:43 +0200
committerPatrick Simianer <p@simianer.de>2014-08-05 22:46:43 +0200
commit0b3cdb4ae2fa176ba74a48ff7a1616395079c151 (patch)
tree7092a57ed7d29920df3ae2f97c39efc17c5e6095 /fast/test_grammar.cc
parenta27e2c529ddb7dc1be0c6bcc44e3ab558126d15d (diff)
too much to tell
Diffstat (limited to 'fast/test_grammar.cc')
-rw-r--r--fast/test_grammar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/fast/test_grammar.cc b/fast/test_grammar.cc
index 34a55ba..3263edd 100644
--- a/fast/test_grammar.cc
+++ b/fast/test_grammar.cc
@@ -9,8 +9,8 @@ int
main(int argc, char** argv)
{
G::Grammar g(argv[1]);
- for (auto it = g.rules.begin(); it != g.rules.end(); it++)
- cout << (**it).escaped() << endl;
+ for (auto it: g.rules)
+ cout << it->escaped() << endl;
return 0;
}