Remove unnecessary std::move. (#1228)
parent
3540996e91
commit
0a253d24f6
cartographer/mapping/2d
|
@ -127,8 +127,7 @@ void Submap2D::Finish() {
|
|||
}
|
||||
|
||||
ActiveSubmaps2D::ActiveSubmaps2D(const proto::SubmapsOptions2D& options)
|
||||
: options_(options),
|
||||
range_data_inserter_(std::move(CreateRangeDataInserter())) {
|
||||
: options_(options), range_data_inserter_(CreateRangeDataInserter()) {
|
||||
// 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.
|
||||
AddSubmap(Eigen::Vector2f::Zero());
|
||||
|
|
Loading…
Reference in New Issue