|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76213 - trunk/boost/algorithm/string/detail
From: marshall_at_[hidden]
Date: 2011-12-28 14:14:19
Author: marshall
Date: 2011-12-28 14:14:18 EST (Wed, 28 Dec 2011)
New Revision: 76213
URL: http://svn.boost.org/trac/boost/changeset/76213
Log:
Qualified two calls to memcpy to work around a C++Builder bug; Refs #4811
Text files modified:
trunk/boost/algorithm/string/detail/classification.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/algorithm/string/detail/classification.hpp
==============================================================================
--- trunk/boost/algorithm/string/detail/classification.hpp (original)
+++ trunk/boost/algorithm/string/detail/classification.hpp 2011-12-28 14:14:18 EST (Wed, 28 Dec 2011)
@@ -126,7 +126,7 @@
}
// 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 @@
}
// Copy the data
- ::memcpy(DestStorage, SrcStorage, sizeof(set_value_type)*m_Size);
+ ::std::memcpy(DestStorage, SrcStorage, sizeof(set_value_type)*m_Size);
return *this;
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk