Remove unnecessary std::move. (#1228)

master
Alexander Belyaev 2018-07-03 10:56:33 +02:00 committed by Wally B. Feed
parent 3540996e91
commit 0a253d24f6
1 changed files with 1 additions and 2 deletions

View File

@ -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());