diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-30 13:07:33 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-30 13:07:33 -0400 |
commit | 77206baf56e6feb111f54678038307ac216128d5 (patch) | |
tree | 54f85d3fd471860a2d533a7acb30a1d9cb4d6897 /queue.cpp | |
parent | 7ad12ab5b05eb2ee595e8900a5d2d101740c7a94 (diff) | |
download | cryptopp-git-77206baf56e6feb111f54678038307ac216128d5.tar.gz |
Whitespace checkin
Diffstat (limited to 'queue.cpp')
-rw-r--r-- | queue.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,7 +42,7 @@ public: inline size_t Put(const byte *begin, size_t length) { - if(!begin || !length) return length; + if (!begin || !length) return length; size_t l = STDMIN(length, MaxSize()-m_tail); if (buf+m_tail != begin) memcpy(buf+m_tail, begin, l); @@ -61,7 +61,7 @@ public: inline size_t Peek(byte *target, size_t copyMax) const { - if(!target || !copyMax) return 0; + if (!target || !copyMax) return 0; size_t len = STDMIN(copyMax, m_tail-m_head); memcpy(target, buf+m_head, len); return len; @@ -428,7 +428,7 @@ byte * ByteQueue::CreatePutSpace(size_t &size) ByteQueue & ByteQueue::operator=(const ByteQueue &rhs) { - if(this == &rhs) return *this; + if (this == &rhs) return *this; Destroy(); CopyFrom(rhs); |