Skip to content

Commit

Permalink
Remove modification to SelectCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Aug 29, 2023
1 parent eb2023e commit b8b5ffd
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class SelectCommand : public CommandHelper<Command, SelectCommand<Key>> {

for (auto&& command : foo) {
CommandScheduler::GetInstance().RequireUngrouped(command.second.get());
command.second.get()->SetComposed(true);
}

for (auto&& command : foo) {
Expand All @@ -77,7 +76,6 @@ class SelectCommand : public CommandHelper<Command, SelectCommand<Key>> {
: m_selector{std::move(selector)} {
for (auto&& command : commands) {
CommandScheduler::GetInstance().RequireUngrouped(command.second.get());
command.second.get()->SetComposed(true);
}

for (auto&& command : commands) {
Expand Down

0 comments on commit b8b5ffd

Please sign in to comment.