diff options
author | Jeffrey Walton <noloader@gmail.com> | 2023-04-15 16:45:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 16:45:02 -0400 |
commit | f5f63850f9a5521e45de3cc45be61309a2e71ab2 (patch) | |
tree | d9ec904ebd511ae673e89790a407f0cdcf0b9bbc /zinflate.cpp | |
parent | 358d0cfecd593d55160df38e133b9450aaf1cd59 (diff) | |
download | cryptopp-git-f5f63850f9a5521e45de3cc45be61309a2e71ab2.tar.gz |
Use std namespace for memset, memcpy, memcmp (#1204)
Diffstat (limited to 'zinflate.cpp')
-rw-r--r-- | zinflate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zinflate.cpp b/zinflate.cpp index 85991264..d9b36c0e 100644 --- a/zinflate.cpp +++ b/zinflate.cpp @@ -255,7 +255,7 @@ void Inflator::OutputString(const byte *string, size_t length) while (length)
{
size_t len = UnsignedMin(length, m_window.size() - m_current);
- memcpy(m_window + m_current, string, len);
+ std::memcpy(m_window + m_current, string, len);
m_current += len;
if (m_current == m_window.size())
{
@@ -293,7 +293,7 @@ void Inflator::OutputPast(unsigned int length, unsigned int distance) }
else
{
- memcpy(m_window + m_current, m_window + start, length);
+ std::memcpy(m_window + m_current, m_window + start, length);
m_current += length;
}
}
|