removed useless std::move on const and unmovable objects

This commit is contained in:
asapelkin
2019-10-24 01:00:39 +03:00
committed by wmayer
parent 1987ecabdd
commit 5a75d2ff45
4 changed files with 5 additions and 5 deletions

View File

@@ -1835,7 +1835,7 @@ yyreduce:
case 66:
#line 190 "ExpressionParser.y" /* yacc.c:1646 */
{ (yyvsp[-1].expr)->addComponent(std::move((yyvsp[0].component))); (yyval.expr) = (yyvsp[-1].expr); }
{ (yyvsp[-1].expr)->addComponent((yyvsp[0].component)); (yyval.expr) = (yyvsp[-1].expr); }
#line 1840 "ExpressionParser.tab.c" /* yacc.c:1646 */
break;