aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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