Added missing generated code from previous commits.

Change-Id: Id7053e4cb5a085a4b047c86ff1f2269329ff7f54
parent 377a8ba6
......@@ -68,7 +68,7 @@ struct EquipmentUnion {
Reset();
type = EquipmentTraits<typename T::TableType>::enum_value;
if (type != Equipment_NONE) {
table = new T(std::move(value));
table = new T(std::forward<T>(value));
}
}
......
......@@ -90,7 +90,7 @@ struct AnyUnion {
Reset();
type = AnyTraits<typename T::TableType>::enum_value;
if (type != Any_NONE) {
table = new T(std::move(value));
table = new T(std::forward<T>(value));
}
}
......
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