1
0
Fork 0
mirror of https://git.suyu.dev/suyu/sirit.git synced 2024-12-22 12:12:05 +00:00

sirit: Add missing reference argument specifier for OpLabel

This commit is contained in:
Lioncash 2019-03-14 02:31:13 -04:00
parent 057b100a68
commit 59867b7907

View file

@ -224,7 +224,7 @@ public:
Id OpLabel(); Id OpLabel();
/// The block label instruction: Any reference to a block is through this ref. /// The block label instruction: Any reference to a block is through this ref.
Id OpLabel(const std::string label_name) { Id OpLabel(const std::string& label_name) {
return Name(OpLabel(), label_name); return Name(OpLabel(), label_name);
} }