mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-08 21:17:45 +00:00
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:
committed by
Commit Bot service account
parent
cc73c8df5c
commit
ef486bf0e4
@@ -320,7 +320,7 @@ Maybe<std::unique_ptr<ast::Variable>> ParserImpl::global_variable_decl(
|
|||||||
return Failure::kErrored;
|
return Failure::kErrored;
|
||||||
var->set_constructor(std::move(expr.value));
|
var->set_constructor(std::move(expr.value));
|
||||||
}
|
}
|
||||||
return std::move(var);
|
return var;
|
||||||
}
|
}
|
||||||
|
|
||||||
// global_constant_decl
|
// global_constant_decl
|
||||||
@@ -1550,7 +1550,7 @@ Maybe<std::unique_ptr<ast::SwitchStatement>> ParserImpl::switch_stmt() {
|
|||||||
|
|
||||||
list.push_back(std::move(stmt.value));
|
list.push_back(std::move(stmt.value));
|
||||||
}
|
}
|
||||||
return std::move(list);
|
return list;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (body.errored)
|
if (body.errored)
|
||||||
|
|||||||
Reference in New Issue
Block a user