summaryrefslogtreecommitdiff
path: root/TAO/tao/Generic_Sequence_T.h
diff options
context:
space:
mode:
authorvzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-02-19 11:10:24 +0000
committervzykov <vzykov@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2009-02-19 11:10:24 +0000
commitc04ee89f8ad85f0908fcc91538dbff9bc69bb6fd (patch)
tree3fabc24f3fff27b4abe68f3f2f9c88939f90f8f1 /TAO/tao/Generic_Sequence_T.h
parent35af788ff561c6f0a3136431f1971bf89b78739c (diff)
downloadATCD-c04ee89f8ad85f0908fcc91538dbff9bc69bb6fd.tar.gz
ChangeLogTag: Thu Feb 19 10:59:31 UTC 2009 Vladimir Zykov <vz@prismtech.com>
Diffstat (limited to 'TAO/tao/Generic_Sequence_T.h')
-rw-r--r--TAO/tao/Generic_Sequence_T.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Generic_Sequence_T.h b/TAO/tao/Generic_Sequence_T.h
index 4d03794d853..34b817b12ba 100644
--- a/TAO/tao/Generic_Sequence_T.h
+++ b/TAO/tao/Generic_Sequence_T.h
@@ -118,7 +118,7 @@ public:
{
if (rhs.maximum_ == 0) return;
generic_sequence tmp(rhs.maximum_, rhs.length_,
- allocation_traits::allocbuf_noinit(rhs.length_),
+ allocation_traits::allocbuf_noinit(rhs.maximum_),
true);
element_traits::copy_range(
rhs.buffer_,