diff options
author | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2013-12-10 07:52:51 +0000 |
commit | 7e265b05f440ed81b80f2de496c9d13221a69fe0 (patch) | |
tree | d4dad210715ea9d60b2136bd416647d4bc02166a /src/utility/outputStreamByteArrayAdapter.cpp | |
parent | Enforce strict aliasing rule and avoid alignment issues. (diff) | |
download | vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.tar.gz vmime-7e265b05f440ed81b80f2de496c9d13221a69fe0.zip |
Simplified types for better readability. Use appropriate types (size_t, byte_t...). Minor warning fixes.
Diffstat (limited to '')
-rw-r--r-- | src/utility/outputStreamByteArrayAdapter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utility/outputStreamByteArrayAdapter.cpp b/src/utility/outputStreamByteArrayAdapter.cpp index 48c0ca0c..1bed735b 100644 --- a/src/utility/outputStreamByteArrayAdapter.cpp +++ b/src/utility/outputStreamByteArrayAdapter.cpp @@ -34,7 +34,8 @@ outputStreamByteArrayAdapter::outputStreamByteArrayAdapter(byteArray& array) } -void outputStreamByteArrayAdapter::write(const value_type* const data, const size_type count) +void outputStreamByteArrayAdapter::writeImpl + (const byte_t* const data, const size_t count) { m_array.insert(m_array.end(), data, data + count); } |