summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-23 01:22:11 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-23 01:22:11 +0000
commit8b81925ae30f4bb9d350373c08d1d98422f4ac04 (patch)
tree7319fa61d352ddda32f82a70583f05f7a805c0ef
parentbffe9a56aee224f4a02b41a3f869581cbaec862f (diff)
downloadATCD-8b81925ae30f4bb9d350373c08d1d98422f4ac04.tar.gz
*** empty log message ***
-rw-r--r--ChangeLog-98b7
1 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog-98b b/ChangeLog-98b
index 14bc9119150..6a0bb3d042a 100644
--- a/ChangeLog-98b
+++ b/ChangeLog-98b
@@ -526,14 +526,17 @@ Fri Oct 16 15:45:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
for (ITERATOR iter = map.begin ();
iter != end;
- iter++)
+ ++iter)
{
ENTRY &entry = *iter;
- i++;
+ ++i;
}
// ...
}
+ Note that as a general rule, it's better to use ++i rather than
+ i++ to avoid unnecessary copies.
+
Fri Oct 16 14:57:58 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Hash_Map_Manager and Map_Manager: Fixed the operator++ and