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

Unified Diff: base/values_unittest.cc

Issue 2811043002: Revert of Use base::flat_map for base::Value dictionary storage. (Closed)
Patch Set: Created 3 years, 8 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 | « base/values.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values_unittest.cc
diff --git a/base/values_unittest.cc b/base/values_unittest.cc
index 2c7ffd6fa5feea297aca8d3fc0f02ca35fb8c25c..85f0a10e4e5788574ee250f9cfd648735db57023 100644
--- a/base/values_unittest.cc
+++ b/base/values_unittest.cc
@@ -1521,7 +1521,8 @@
TEST(ValuesTest, SelfSwap) {
base::Value test(1);
- std::swap(test, test);
+ using namespace std;
+ swap(test, test);
EXPECT_TRUE(test.GetInt() == 1);
}
« no previous file with comments | « base/values.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698