mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-01-26 03:11:06 +00:00
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
This commit is contained in:
parent
111cce8a88
commit
7d1e1e273a
|
@ -288,7 +288,7 @@ class Module {
|
||||||
// Relation for maps whose keys are strings shared with some other
|
// Relation for maps whose keys are strings shared with some other
|
||||||
// structure.
|
// structure.
|
||||||
struct CompareStringPtrs {
|
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
|
// A map from filenames to File structures. The map's keys are
|
||||||
|
|
Loading…
Reference in a new issue