update_engine: Clean up angle brackets in template types.
C++11 no longer has the angle bracket pitfall in template types.
BUG=None
TEST=`FEATURES=test emerge-$BOARD update_engine`
Change-Id: I0168b9f208ad8e62ae614b8a3b8bcf31c58fa9f2
Reviewed-on: https://chromium-review.googlesource.com/219203
Commit-Queue: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Alex Vakulenko <avakulenko@chromium.org>
diff --git a/p2p_manager.cc b/p2p_manager.cc
index fcaae1a..5039747 100644
--- a/p2p_manager.cc
+++ b/p2p_manager.cc
@@ -310,7 +310,7 @@
GDir* dir = nullptr;
GError* error = nullptr;
const char* name = nullptr;
- vector<pair<FilePath, Time> > matches;
+ vector<pair<FilePath, Time>> matches;
// Go through all files in the p2p dir and pick the ones that match
// and get their ctime.
@@ -348,7 +348,7 @@
std::sort(matches.begin(), matches.end(), MatchCompareFunc);
// Delete starting at element num_files_to_keep_.
- vector<pair<FilePath, Time> >::const_iterator i;
+ vector<pair<FilePath, Time>>::const_iterator i;
for (i = matches.begin() + num_files_to_keep_; i < matches.end(); ++i) {
const base::FilePath& file = i->first;
LOG(INFO) << "Deleting p2p file " << file.value();