Remove C++11-ism, until all bots support it.

R=machenbach@chromium.org
BUG=

Review URL: https://codereview.chromium.org/509963002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23463 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 79c8cfe2
...@@ -43,7 +43,7 @@ class GenericGraphVisit { ...@@ -43,7 +43,7 @@ class GenericGraphVisit {
typedef typename Traits::Node Node; typedef typename Traits::Node Node;
typedef typename Traits::Iterator Iterator; typedef typename Traits::Iterator Iterator;
typedef std::pair<Iterator, Iterator> NodeState; typedef std::pair<Iterator, Iterator> NodeState;
typedef std::stack<NodeState, ZoneDeque<NodeState>> NodeStateStack; typedef std::stack<NodeState, ZoneDeque<NodeState> > NodeStateStack;
NodeStateStack stack((ZoneDeque<NodeState>(zone))); NodeStateStack stack((ZoneDeque<NodeState>(zone)));
BoolVector visited(Traits::max_id(graph), false, zone); BoolVector visited(Traits::max_id(graph), false, zone);
Node* current = *root_begin; Node* current = *root_begin;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment