diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/llcommon/llstl.h | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2 meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz |
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/llcommon/llstl.h')
-rw-r--r-- | linden/indra/llcommon/llstl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llstl.h b/linden/indra/llcommon/llstl.h index 4486727..70a2cc0 100644 --- a/linden/indra/llcommon/llstl.h +++ b/linden/indra/llcommon/llstl.h | |||
@@ -79,6 +79,9 @@ struct compare_pointer_contents | |||
79 | // The general form is: | 79 | // The general form is: |
80 | // | 80 | // |
81 | // std::for_each(cont.begin(), cont.end(), DeletePointer()); | 81 | // std::for_each(cont.begin(), cont.end(), DeletePointer()); |
82 | // somemap.clear(); | ||
83 | // | ||
84 | // Don't forget to clear()! | ||
82 | 85 | ||
83 | struct DeletePointer | 86 | struct DeletePointer |
84 | { | 87 | { |
@@ -95,7 +98,7 @@ struct DeletePointerArray | |||
95 | } | 98 | } |
96 | }; | 99 | }; |
97 | 100 | ||
98 | // DeletePointer is a simple helper for deleting all pointers in a map. | 101 | // DeletePairedPointer is a simple helper for deleting all pointers in a map. |
99 | // The general form is: | 102 | // The general form is: |
100 | // | 103 | // |
101 | // std::for_each(somemap.begin(), somemap.end(), DeletePairedPointer()); | 104 | // std::for_each(somemap.begin(), somemap.end(), DeletePairedPointer()); |