remove redundant std::move to fix clang errors
Change-Id: I86be320a3f3ac7855460341d4570bc7df715243a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/32381 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Sarah Mashayekhi <sarahmashay@google.com>
This commit is contained in:
parent
cc73c8df5c
commit
ef486bf0e4
|
@ -320,7 +320,7 @@ Maybe<std::unique_ptr<ast::Variable>> ParserImpl::global_variable_decl(
|
|||
return Failure::kErrored;
|
||||
var->set_constructor(std::move(expr.value));
|
||||
}
|
||||
return std::move(var);
|
||||
return var;
|
||||
}
|
||||
|
||||
// global_constant_decl
|
||||
|
@ -1550,7 +1550,7 @@ Maybe<std::unique_ptr<ast::SwitchStatement>> ParserImpl::switch_stmt() {
|
|||
|
||||
list.push_back(std::move(stmt.value));
|
||||
}
|
||||
return std::move(list);
|
||||
return list;
|
||||
});
|
||||
|
||||
if (body.errored)
|
||||
|
|
Loading…
Reference in New Issue