Disable Value&& constructor for the String class on Windows

refs #12555
This commit is contained in:
Gunnar Beutner 2016-08-31 13:38:55 +02:00
parent ba14c6e7ff
commit 2729e98c69
2 changed files with 4 additions and 0 deletions

View File

@ -29,10 +29,12 @@ REGISTER_BUILTIN_TYPE(String, String::GetPrototype());
const String::SizeType String::NPos = std::string::npos;
#ifndef _MSC_VER
String::String(Value&& other)
{
*this = std::move(other);
}
#endif /* _MSC_VER */
String& String::operator=(Value&& other)
{

View File

@ -85,7 +85,9 @@ public:
: m_Data(std::move(other.m_Data))
{ }
#ifndef _MSC_VER
String(Value&& other);
#endif /* _MSC_VER */
inline ~String(void)
{ }