aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llstl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/llcommon/llstl.h
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-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.h5
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
83struct DeletePointer 86struct 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());