Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taufeeque9 committed Jul 11, 2024
1 parent 4928b00 commit dbeb9a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion envpool/sokoban/level_loader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ void LevelLoader::LoadFile(std::mt19937& gen) {
<< "x" << dim_room << std::endl;
throw std::runtime_error(msg.str());
}
levels_.push_back(std::make_pair(cur_level_idx++, std::move(cur_level)));
levels_.emplace_back(
std::make_pair(cur_level_idx++, std::move(cur_level)));
}
}
if (!load_sequentially_) {
Expand Down

0 comments on commit dbeb9a2

Please sign in to comment.