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

Unified Diff: components/omnibox/browser/scored_history_match.cc

Issue 2690303012: Cleaning up url_index_private_data and in_memory_url_index_types. (Closed)
Patch Set: Dropping noexcept from move operations. Created 3 years, 10 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: components/omnibox/browser/scored_history_match.cc
diff --git a/components/omnibox/browser/scored_history_match.cc b/components/omnibox/browser/scored_history_match.cc
index 5dddb3f5102493781921eab8a52b83e73a7e1710..f0424978552e3b2c6cccdb3495223a50197606c4 100644
--- a/components/omnibox/browser/scored_history_match.cc
+++ b/components/omnibox/browser/scored_history_match.cc
@@ -320,9 +320,12 @@ ScoredHistoryMatch::ScoredHistoryMatch(
ScoredHistoryMatch::ScoredHistoryMatch(const ScoredHistoryMatch& other) =
default;
-
-ScoredHistoryMatch::~ScoredHistoryMatch() {
-}
+ScoredHistoryMatch::ScoredHistoryMatch(ScoredHistoryMatch&& other) = default;
+ScoredHistoryMatch& ScoredHistoryMatch::operator=(
+ const ScoredHistoryMatch& other) = default;
+ScoredHistoryMatch& ScoredHistoryMatch::operator=(ScoredHistoryMatch&& other) =
+ default;
+ScoredHistoryMatch::~ScoredHistoryMatch() = default;
// Comparison function for sorting ScoredMatches by their scores with
// intelligent tie-breaking.
« no previous file with comments | « components/omnibox/browser/scored_history_match.h ('k') | components/omnibox/browser/url_index_private_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698