diff options
Diffstat (limited to 'sql/sql_plist.h')
-rw-r--r-- | sql/sql_plist.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/sql_plist.h b/sql/sql_plist.h index 1274a5a78c0..574a151f956 100644 --- a/sql/sql_plist.h +++ b/sql/sql_plist.h @@ -186,7 +186,12 @@ public: list= &a; current= a.m_first; } - /* Operator for it++ */ + /** + Operator for it++ + + @note since we save next element pointer, caller may remove current element. + Such modification doesn't invalidate iterator. + */ inline T* operator++(int) { T *result= current; |