diff options
author | Liu.andrew.x@gmail.com <Liu.andrew.x@gmail.com> | 2015-08-12 00:21:44 +0000 |
---|---|---|
committer | Liu.andrew.x@gmail.com <Liu.andrew.x@gmail.com> | 2015-08-12 00:21:44 +0000 |
commit | c4e643dfb4e392c72c840e1e771d62fc0be8e0e7 (patch) | |
tree | db640d428ba730ef8bd6eb2b9e95db9e22499209 /src/google_breakpad/processor/minidump.h | |
parent | Change Print method of MinidumpLinuxMaps and MinidumpLinuxMapsList to print (diff) | |
download | breakpad-c4e643dfb4e392c72c840e1e771d62fc0be8e0e7.tar.xz |
Allow Print() to be called by const instances of MinidumpLinuxMaps and
MinidumpLinuxMapsList.
R=ivanpe@chromium.org
Review URL: https://codereview.chromium.org/1287803002
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1482 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_breakpad/processor/minidump.h')
-rw-r--r-- | src/google_breakpad/processor/minidump.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google_breakpad/processor/minidump.h b/src/google_breakpad/processor/minidump.h index c6273cff..968cd8de 100644 --- a/src/google_breakpad/processor/minidump.h +++ b/src/google_breakpad/processor/minidump.h @@ -892,7 +892,7 @@ class MinidumpLinuxMaps : public MinidumpObject { const string GetPathname() const { return valid_ ? region_.path : ""; } // Print the contents of this mapping. - void Print(); + void Print() const; private: // These objects are managed by MinidumpLinuxMapsList. @@ -920,7 +920,7 @@ class MinidumpLinuxMapsList : public MinidumpStream { const MinidumpLinuxMaps *GetLinuxMapsAtIndex(unsigned int index) const; // Print the contents of /proc/self/maps to stdout. - void Print(); + void Print() const; private: friend class Minidump; |