mirror of
https://github.com/boostorg/regex.git
synced 2025-07-29 12:07:28 +02:00
Reinstate many workarounds to get older msvc versions compiling.
This commit is contained in:
@ -186,4 +186,4 @@ void scoped_static_mutex_lock::unlock()
|
||||
}
|
||||
|
||||
#endif // BOOST_HAS_THREADS
|
||||
#endif
|
||||
#endif
|
||||
|
@ -227,7 +227,7 @@ BOOST_REGEX_DECL regsize_t BOOST_REGEX_CCALL regerrorW(int code, const regex_tW*
|
||||
std::size_t len = p.size();
|
||||
if(len < buf_size)
|
||||
{
|
||||
std::copy(p.c_str(), p.c_str() + p.size() + 1, buf);
|
||||
BOOST_REGEX_DETAIL_NS::copy(p.c_str(), p.c_str() + p.size() + 1, buf);
|
||||
}
|
||||
return len + 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user