From f6a32d0f2501b8d4ac6a45868b86742c868c346c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 16 Jan 2011 20:45:18 +0000 Subject: [PATCH] use memcpy() instead of std::memcpy() --- include/libtorrent/chained_buffer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/chained_buffer.hpp b/include/libtorrent/chained_buffer.hpp index aa46b2d36..0518c0307 100644 --- a/include/libtorrent/chained_buffer.hpp +++ b/include/libtorrent/chained_buffer.hpp @@ -41,7 +41,7 @@ POSSIBILITY OF SUCH DAMAGE. #include #endif #include -#include +#include // for memcpy namespace libtorrent { @@ -127,7 +127,7 @@ namespace libtorrent { char* insert = allocate_appendix(s); if (insert == 0) return false; - std::memcpy(insert, buf, s); + memcpy(insert, buf, s); return true; }