summaryrefslogtreecommitdiff
path: root/STL/bstring.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-11 11:02:03 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-12-11 11:02:03 +0000
commit8b7e39c0dfaef5a30d5adf40f6ed5568fd8b5d8a (patch)
treebae060d484f94e84f54afe1fe431cfbab2c3c01b /STL/bstring.h
parent497284175ffc33d4da5f1b89a9a8284eaecb593d (diff)
downloadATCD-8b7e39c0dfaef5a30d5adf40f6ed5568fd8b5d8a.tar.gz
*** empty log message ***
Diffstat (limited to 'STL/bstring.h')
-rw-r--r--STL/bstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/STL/bstring.h b/STL/bstring.h
index dd53a07e25c..70a7a544f87 100644
--- a/STL/bstring.h
+++ b/STL/bstring.h
@@ -162,8 +162,8 @@ struct string_char_baggage {
copy (char_type* s1, const char_type* s2, size_t n) _THROW_NONE
{
char_type* s = s1;
- for (size_t i = 0; i < n; ++i)
- assign(*++s1, *++s2);
+ for (size_t i = 0; i < n; ++i, s1++, s2++)
+ assign(*s1, *s2);
return s;
}
};