mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Replace std::make_pair with std::pair CTAD (#7405)
This commit is contained in:
@@ -68,7 +68,7 @@ class TestableSelectCommand : public SelectCommand<int> {
|
||||
std::vector<std::pair<int, std::unique_ptr<Command>>> vec;
|
||||
int index = 0;
|
||||
for (auto&& command : commands) {
|
||||
vec.emplace_back(std::make_pair(index, std::move(command)));
|
||||
vec.emplace_back(std::pair{index, std::move(command)});
|
||||
index++;
|
||||
}
|
||||
return vec;
|
||||
|
||||
Reference in New Issue
Block a user