Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(848)

Unified Diff: chrome/browser/conflicts/module_info_win.cc

Issue 2721503003: Add ModuleInspector (Closed)
Patch Set: merge Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/conflicts/module_info_win.cc
diff --git a/chrome/browser/conflicts/module_info_win.cc b/chrome/browser/conflicts/module_info_win.cc
index b7255a7e0a07ca0665ceef9d066b77e3581aab46..91a204480e5c7b42c5debadde607e5e34532cc01 100644
--- a/chrome/browser/conflicts/module_info_win.cc
+++ b/chrome/browser/conflicts/module_info_win.cc
@@ -9,6 +9,7 @@
#include <fileapi.h>
#include <memory>
+#include <tuple>
#include "base/file_version_info.h"
#include "base/i18n/case_conversion.h"
@@ -69,9 +70,8 @@ bool ModuleInfoKey::operator<(const ModuleInfoKey& mik) const {
// The key consists of the triplet of
// (module_path, module_size, module_time_date_stamp).
// Use the std::tuple lexicographic comparison operator.
- return std::make_tuple(module_path, module_size, module_time_date_stamp) <
- std::make_tuple(mik.module_path, mik.module_size,
- mik.module_time_date_stamp);
+ return std::tie(module_path, module_size, module_time_date_stamp) <
+ std::tie(mik.module_path, mik.module_size, mik.module_time_date_stamp);
}
// ModuleInspectionResult ------------------------------------------------------
« no previous file with comments | « chrome/browser/conflicts/module_event_sink_impl_win_unittest.cc ('k') | chrome/browser/conflicts/module_inspector_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698