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

Unified Diff: client/simple_string_dictionary_test.cc

Issue 700143004: C++11: Use type aliases instead of typedefs (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 1 month 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 | « client/simple_string_dictionary.cc ('k') | client/simulate_crash_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/simple_string_dictionary_test.cc
diff --git a/client/simple_string_dictionary_test.cc b/client/simple_string_dictionary_test.cc
index 7cc298f9b6fc05a2f41bcb64aab0c5852b26e463..173fee31d3223ec4493b9f8b5971b66590a07ac4 100644
--- a/client/simple_string_dictionary_test.cc
+++ b/client/simple_string_dictionary_test.cc
@@ -22,7 +22,7 @@ namespace test {
namespace {
TEST(SimpleStringDictionary, Entry) {
- typedef TSimpleStringDictionary<5, 9, 15> TestMap;
+ using TestMap = TSimpleStringDictionary<5, 9, 15>;
TestMap map;
const TestMap::Entry* entry = TestMap::Iterator(map).Next();
@@ -238,7 +238,7 @@ TEST(SimpleStringDictionary, AddRemove) {
}
TEST(SimpleStringDictionary, Serialize) {
- typedef TSimpleStringDictionary<4, 5, 7> TestMap;
+ using TestMap = TSimpleStringDictionary<4, 5, 7>;
TestMap map;
map.SetKeyValue("one", "abc");
map.SetKeyValue("two", "def");
« no previous file with comments | « client/simple_string_dictionary.cc ('k') | client/simulate_crash_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698