commit | 4effb8c5c843563b0fcc8703b50e9f12f856a948 | [log] [tgz] |
---|---|---|
author | Florian Hahn <flo@fhahn.com> | Sat Apr 17 15:22:54 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Apr 17 21:32:58 2021 -0700 |
tree | a27576177e862b9cf68a4e246e21347040c0d583 | |
parent | 52843300bf1a3a1cda8a483d520ba750216ff907 [diff] |
[ADT] Take graph as const & in some post-order iterators (NFC). This patch updates a couple of functions that unnecessarily took the input graph by value, when it was not needed. They can take the graph by const-reference instead, which does not require GraphT to provide a copy constructor. Split off from D100169. GitOrigin-RevId: bbf01f96b5ccc1dcb4d1d47cb55292c27c698dbb