Optimization
This commit is contained in:
parent
93a30cda52
commit
1334116a98
|
@ -31,8 +31,8 @@ namespace data {
|
|||
_self_actor(nullptr),
|
||||
_other_actor(nullptr) {
|
||||
auto ddata = Serializer::DeserializeRawData(data);
|
||||
_self_actor = ddata.self_actor;
|
||||
_other_actor = ddata.other_actor;
|
||||
_self_actor = std::move(ddata.self_actor);
|
||||
_other_actor = std::move(ddata.other_actor);
|
||||
_distance = ddata.distance;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue