From ba417e875a0d4155f2819d0ac9c9803a3d6c7fd7 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Wed, 28 Dec 2011 19:14:18 +0000 Subject: [PATCH] Qualified two calls to memcpy to work around a C++Builder bug; Refs #4811 [SVN r76213] --- include/boost/algorithm/string/detail/classification.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/algorithm/string/detail/classification.hpp b/include/boost/algorithm/string/detail/classification.hpp index fb43955..704d9d2 100644 --- a/include/boost/algorithm/string/detail/classification.hpp +++ b/include/boost/algorithm/string/detail/classification.hpp @@ -126,7 +126,7 @@ namespace boost { } // Use fixed storage - ::memcpy(DestStorage, SrcStorage, sizeof(set_value_type)*m_Size); + ::std::memcpy(DestStorage, SrcStorage, sizeof(set_value_type)*m_Size); } // Destructor @@ -206,7 +206,7 @@ namespace boost { } // Copy the data - ::memcpy(DestStorage, SrcStorage, sizeof(set_value_type)*m_Size); + ::std::memcpy(DestStorage, SrcStorage, sizeof(set_value_type)*m_Size); return *this; }