Skip to content

Commit

Permalink
Qualify move as std::move
Browse files Browse the repository at this point in the history
Seeing downstream errors:
"spirv_common.hpp:692:19: error: unqualified call to std::move"
  • Loading branch information
abrachet committed Feb 25, 2022
1 parent c08ee86 commit 0eda71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spirv_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ struct SPIRExpression : IVariant

// Only created by the backend target to avoid creating tons of temporaries.
SPIRExpression(std::string expr, TypeID expression_type_, bool immutable_)
: expression(move(expr))
: expression(std::move(expr))
, expression_type(expression_type_)
, immutable(immutable_)
{
Expand Down

0 comments on commit 0eda71c

Please sign in to comment.