mirror of
https://github.com/yuzu-emu/sirit
synced 2024-11-22 12:13:34 +00:00
sirit: Remove unnecessary std::move in OpLabel
std::move on a std::string_view doesn't do anything a regular copy wouldn't.
This commit is contained in:
parent
dc20d93ee6
commit
a39596358a
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public:
|
|||
|
||||
/// The block label instruction: Any reference to a block is through this ref.
|
||||
Id OpLabel(std::string_view label_name) {
|
||||
return Name(OpLabel(), std::move(label_name));
|
||||
return Name(OpLabel(), label_name);
|
||||
}
|
||||
|
||||
/// Unconditional jump to label.
|
||||
|
|
Loading…
Reference in a new issue