From 7d1e1e273ab901c8ad168420b000f1e27ad4397b Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Thu, 28 Feb 2013 19:52:51 +0000 Subject: Make CompareStringPtrs::operator() a const method Patch by Julian Seward , R=ted git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1118 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.1