Commit 3d3555d3 authored by miloyip's avatar miloyip

Use move semantics for property name

parent 242d67fa
......@@ -207,7 +207,7 @@ public:
propertyCount_ = allProperties.Size();
properties_ = new Property[propertyCount_];
for (SizeType i = 0; i < propertyCount_; i++) {
properties_[i].name.SetString(allProperties[i].GetString(), allProperties[i].GetStringLength(), allocator_);
properties_[i].name = allProperties[i];
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment