Merge pull request #4527 from lioncash/pessimizing2

software_keyboard: Resolve a pessimizing move warning
This commit is contained in:
bunnei 2020-08-15 02:13:44 -04:00 committed by GitHub
commit e6f9231ef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,8 +122,7 @@ void SoftwareKeyboard::ExecuteInteractive() {
switch (request) { switch (request) {
case Request::Calc: { case Request::Calc: {
broker.PushNormalDataFromApplet( broker.PushNormalDataFromApplet(std::make_shared<IStorage>(std::vector<u8>{1}));
std::make_shared<IStorage>(std::move(std::vector<u8>{1})));
broker.SignalStateChanged(); broker.SignalStateChanged();
break; break;
} }