mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-25 08:44:55 +01:00
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
This commit is contained in:
parent
6a1a906773
commit
c4e643dfb4
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue