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

Unified Diff: base/containers/flat_tree.h

Issue 2940873002: Implement tracking of BUILD.gn files used to define target, toolchain or (Closed)
Patch Set: Fix compilation after rebase. Created 3 years, 6 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
« no previous file with comments | « no previous file | tools/gn/analyzer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/containers/flat_tree.h
diff --git a/base/containers/flat_tree.h b/base/containers/flat_tree.h
index afbbf95c4fdda48db3065cb86c202c9ef169e1f6..8bbd3007739aff77bc184f1aa9c97294dbd1039c 100644
--- a/base/containers/flat_tree.h
+++ b/base/containers/flat_tree.h
@@ -124,18 +124,18 @@ class flat_tree {
template <class InputIterator>
flat_tree(InputIterator first,
InputIterator last,
- FlatContainerDupes dupe_handling,
+ FlatContainerDupes dupe_handling = KEEP_FIRST_OF_DUPES,
const key_compare& comp = key_compare());
flat_tree(const flat_tree&);
flat_tree(flat_tree&&);
flat_tree(std::vector<value_type> items,
- FlatContainerDupes dupe_handling,
+ FlatContainerDupes dupe_handling = KEEP_FIRST_OF_DUPES,
const key_compare& comp = key_compare());
flat_tree(std::initializer_list<value_type> ilist,
- FlatContainerDupes dupe_handling,
+ FlatContainerDupes dupe_handling = KEEP_FIRST_OF_DUPES,
const key_compare& comp = key_compare());
~flat_tree();
@@ -215,7 +215,7 @@ class flat_tree {
template <class InputIterator>
void insert(InputIterator first,
InputIterator last,
- FlatContainerDupes dupes);
+ FlatContainerDupes dupes = KEEP_FIRST_OF_DUPES);
template <class... Args>
std::pair<iterator, bool> emplace(Args&&... args);
« no previous file with comments | « no previous file | tools/gn/analyzer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698