mirror of
https://github.com/yuzu-emu/sirit.git
synced 2024-11-24 21:45:51 +01: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
@ -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 New Issue
Block a user