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:
Sarah Mashayekhi 2020-11-11 16:40:05 +00:00 committed by Commit Bot service account
parent cc73c8df5c
commit ef486bf0e4
1 changed files with 2 additions and 2 deletions

View File

@ -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)