summaryrefslogtreecommitdiff
path: root/zen/fixed_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/fixed_list.h')
-rw-r--r--zen/fixed_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/fixed_list.h b/zen/fixed_list.h
index e3083c89..d38dbae5 100644
--- a/zen/fixed_list.h
+++ b/zen/fixed_list.h
@@ -12,7 +12,7 @@
namespace zen
{
//std::list(C++11) compatible class for inplace element construction supporting non-copyable/movable types
-//may be replaced by C++11 std::list when available
+//may be replaced by C++11 std::list when available...or never...
template <class T>
class FixedList
{
@@ -48,7 +48,7 @@ public:
ListIterator& operator++() { iter = iter->next; return *this; }
inline friend bool operator==(const ListIterator& lhs, const ListIterator& rhs) { return lhs.iter == rhs.iter; }
inline friend bool operator!=(const ListIterator& lhs, const ListIterator& rhs) { return !(lhs == rhs); }
- U& operator* () { return iter->val; }
+ U& operator* () { return iter->val; }
U* operator->() { return &iter->val; }
private:
NodeT* iter;
bgstack15