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

Unified Diff: minidump/minidump_writable.cc

Issue 681313005: minidump: Use decltype(object) instead of typeof(object) (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years, 2 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 | « minidump/minidump_module_writer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: minidump/minidump_writable.cc
diff --git a/minidump/minidump_writable.cc b/minidump/minidump_writable.cc
index 3bb4bffa58c5ddc5fca6d3eb9495f53f1d3e0185..5e87c9419286979d882b305b87fb007fb4bdba2d 100644
--- a/minidump/minidump_writable.cc
+++ b/minidump/minidump_writable.cc
@@ -180,7 +180,7 @@ size_t MinidumpWritable::WillWriteAtOffset(
}
if (!registered_location_descriptors_.empty()) {
- typeof(registered_location_descriptors_[0]->DataSize) local_size;
+ decltype(registered_location_descriptors_[0]->DataSize) local_size;
if (!AssignIfInRange(&local_size, size)) {
LOG(ERROR) << "size " << size << " out of range";
return kInvalidSize;
« no previous file with comments | « minidump/minidump_module_writer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698