software_keyboard: Resolve a pessimizing move warning
A std::vector created in place like this is already an rvalue and doesn't need to be moved.
This commit is contained in:
1 parent
e050594706
commit
03d5a5d9de
1 file changed
+1
-2
@@ -122,8 +122,7 @@ void SoftwareKeyboard::ExecuteInteractive() {
|
||||
|
||||
switch (request) {
|
||||
case Request::Calc: {
|
||||
broker.PushNormalDataFromApplet(
|
||||
std::make_shared<IStorage>(std::move(std::vector<u8>{1})));
|
||||
broker.PushNormalDataFromApplet(std::make_shared<IStorage>(std::vector<u8>{1}));
|
||||
broker.SignalStateChanged();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user