summaryrefslogtreecommitdiff
path: root/src/context/cdhashset.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2020-11-18 14:45:52 -0800
committerGitHub <noreply@github.com>2020-11-18 16:45:52 -0600
commit2901ee18f824d1f9e4338ef2853da0ab4ccbff0e (patch)
tree5da53f2130ccd6b7e80e6a6e4e7f24d72ef5aa2c /src/context/cdhashset.h
parent886acef658504eedb6e0bcc7969449bc42b65b12 (diff)
Add -> operator overload for cd* iterators. (#5464)
Diffstat (limited to 'src/context/cdhashset.h')
-rw-r--r--src/context/cdhashset.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/context/cdhashset.h b/src/context/cdhashset.h
index 9bbf6537c..c8dcc7888 100644
--- a/src/context/cdhashset.h
+++ b/src/context/cdhashset.h
@@ -115,6 +115,7 @@ public:
V operator*() const {
return d_val;
}
+ V* operator->() const { return &d_val; }
};/* class CDSet<>::iterator::Proxy */
// Actual postfix increment: returns Proxy with the old value.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback