diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-10-14 01:29:38 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2003-10-14 01:29:38 +0000 |
commit | fa93f918f70333c61ef4a83023c7bdbdc7403554 (patch) | |
tree | d59d7be418db8a4351a87f467e572d3a80205e84 /queue.cpp | |
parent | 2ddf50a5761451d0383d380abb0a89505f62f0be (diff) | |
download | cryptopp-fa93f918f70333c61ef4a83023c7bdbdc7403554.tar.gz |
fix bug in swap
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@135 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'queue.cpp')
-rw-r--r-- | queue.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -462,11 +462,13 @@ byte ByteQueue::operator[](unsigned long i) const void ByteQueue::swap(ByteQueue &rhs) { + std::swap(m_autoNodeSize, rhs.m_autoNodeSize); std::swap(m_nodeSize, rhs.m_nodeSize); std::swap(m_head, rhs.m_head); std::swap(m_tail, rhs.m_tail); std::swap(m_lazyString, rhs.m_lazyString); std::swap(m_lazyLength, rhs.m_lazyLength); + std::swap(m_lazyStringModifiable, rhs.m_lazyStringModifiable); } // ******************************************************** |