summaryrefslogtreecommitdiff
path: root/queue.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-09 19:16:12 -0400
committerJeffrey Walton <noloader@gmail.com>2021-04-09 19:16:12 -0400
commit5a3a71c9a412e46efad30eb6af898fea5fcbf234 (patch)
tree18fe6009c953e07a20f87a5e4a77911cbac51309 /queue.h
parentac730233621500d1442334ec545e8a38ec2b3095 (diff)
downloadcryptopp-git-5a3a71c9a412e46efad30eb6af898fea5fcbf234.tar.gz
Clear GCC warnings
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/queue.h b/queue.h
index 00e7e4a8..e74244b5 100644
--- a/queue.h
+++ b/queue.h
@@ -127,7 +127,7 @@ public:
void FinalizeLazyPut();
/// \brief Assign contents from another ByteQueue
- /// \param t the other ByteQueue
+ /// \param rhs the other ByteQueue
/// \return reference to this ByteQueue
ByteQueue & operator=(const ByteQueue &rhs);
@@ -149,7 +149,7 @@ public:
/// \param index of byte to retrieve
/// \return byte at the specified index
/// \details operator[]() does not perform bounds checking.
- byte operator[](lword i) const;
+ byte operator[](lword index) const;
/// \brief Swap contents with another ByteQueue
/// \param rhs the other SecBlock