Remove unnecessary std::move. (#1228)
parent
3540996e91
commit
0a253d24f6
|
@ -127,8 +127,7 @@ void Submap2D::Finish() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ActiveSubmaps2D::ActiveSubmaps2D(const proto::SubmapsOptions2D& options)
|
ActiveSubmaps2D::ActiveSubmaps2D(const proto::SubmapsOptions2D& options)
|
||||||
: options_(options),
|
: options_(options), range_data_inserter_(CreateRangeDataInserter()) {
|
||||||
range_data_inserter_(std::move(CreateRangeDataInserter())) {
|
|
||||||
// We always want to have at least one likelihood field which we can return,
|
// We always want to have at least one likelihood field which we can return,
|
||||||
// and will create it at the origin in absence of a better choice.
|
// and will create it at the origin in absence of a better choice.
|
||||||
AddSubmap(Eigen::Vector2f::Zero());
|
AddSubmap(Eigen::Vector2f::Zero());
|
||||||
|
|
Loading…
Reference in New Issue