Merge pull request #83 from lioncash/pessimizing-move
input_common/sdl: Silence a -Wpessimizing-move warning
This commit is contained in:
commit
18507b09b2
@ -425,7 +425,7 @@ std::vector<std::unique_ptr<InputCommon::Polling::DevicePoller>> GetPollers(
|
|||||||
pollers.push_back(std::make_unique<SDLButtonPoller>());
|
pollers.push_back(std::make_unique<SDLButtonPoller>());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return std::move(pollers);
|
return pollers;
|
||||||
}
|
}
|
||||||
} // namespace Polling
|
} // namespace Polling
|
||||||
} // namespace SDL
|
} // namespace SDL
|
||||||
|
Loading…
Reference in New Issue
Block a user