diff options
author | Lioncash <[email protected]> | 2019-03-14 02:31:13 -0400 |
---|---|---|
committer | Lioncash <[email protected]> | 2019-03-14 02:31:18 -0400 |
commit | 59867b7907150a9bddb4f1b11782830f15ec2371 (patch) | |
tree | ca12cb1e22082fe38c61020525b42c1998611f10 /include | |
parent | 057b100a683829dc1d9d332266a0bcbfdf565351 (diff) | |
download | sirit-59867b7907150a9bddb4f1b11782830f15ec2371.tar.gz sirit-59867b7907150a9bddb4f1b11782830f15ec2371.zip |
sirit: Add missing reference argument specifier for OpLabel
Diffstat (limited to 'include')
-rw-r--r-- | include/sirit/sirit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index a4d3ce2..97383e1 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -224,7 +224,7 @@ public: Id OpLabel(); /// 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); } |