summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/context/cdmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context/cdmap.h b/src/context/cdmap.h
index 1e7e931da..c71459835 100644
--- a/src/context/cdmap.h
+++ b/src/context/cdmap.h
@@ -514,8 +514,8 @@ public:
}
// Dereference operators.
- std::pair<const Key, Data> operator*() const {
- return std::pair<const Key, Data>(d_it->getKey(), d_it->get());
+ std::pair<const Key, const Data> operator*() const {
+ return std::pair<const Key, const Data>(d_it->getKey(), d_it->get());
}
// Prefix increment
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback