Add another rvalue constructor for the String class

refs #12555
This commit is contained in:
Gunnar Beutner 2016-08-27 11:00:04 +02:00
parent 6e384f81a0
commit 7c273d7748
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ public:
: m_Data(data)
{ }
inline String(std::string&& data)
: m_Data(data)
{ }
inline String(String::SizeType n, char c)
: m_Data(n, c)
{ }