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/utils.cc b/utils.cc
index 0938704..05f7b07 100644
--- a/utils.cc
+++ b/utils.cc
@@ -81,9 +81,9 @@
// At this point we want to convert the format key=value pair from mosys to
// a vector of key value pairs.
- vector<pair<string, string> > kv_pairs;
+ vector<pair<string, string>> kv_pairs;
if (base::SplitStringIntoKeyValuePairs(input_line, '=', ' ', &kv_pairs)) {
- for (vector<pair<string, string> >::iterator it = kv_pairs.begin();
+ for (vector<pair<string, string>>::iterator it = kv_pairs.begin();
it != kv_pairs.end(); ++it) {
// Finally match against the fw_verion which may have quotes.
if (it->first == "fw_version") {