aboutsummaryrefslogtreecommitdiff
path: root/src/common/module.h
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-02-28 19:52:51 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-02-28 19:52:51 +0000
commit7d1e1e273ab901c8ad168420b000f1e27ad4397b (patch)
tree728958ddceb9d4ef3f7f3083d14a0459d6633691 /src/common/module.h
parentAdd missing "using std::sort" to dwarf_cu_to_module.cc. (diff)
downloadbreakpad-7d1e1e273ab901c8ad168420b000f1e27ad4397b.tar.xz
Make CompareStringPtrs::operator() a const method
Patch by Julian Seward <jseward@acm.org>, R=ted git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1118 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/module.h')
-rw-r--r--src/common/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/module.h b/src/common/module.h
index cc89bba5..d58e8b78 100644
--- a/src/common/module.h
+++ b/src/common/module.h
@@ -288,7 +288,7 @@ class Module {
// Relation for maps whose keys are strings shared with some other
// structure.
struct CompareStringPtrs {
- bool operator()(const string *x, const string *y) { return *x < *y; }
+ bool operator()(const string *x, const string *y) const { return *x < *y; }
};
// A map from filenames to File structures. The map's keys are