aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorLioncash <[email protected]>2019-03-14 02:31:13 -0400
committerLioncash <[email protected]>2019-03-14 02:31:18 -0400
commit59867b7907150a9bddb4f1b11782830f15ec2371 (patch)
treeca12cb1e22082fe38c61020525b42c1998611f10 /include
parent057b100a683829dc1d9d332266a0bcbfdf565351 (diff)
downloadsirit-59867b7907150a9bddb4f1b11782830f15ec2371.tar.gz
sirit-59867b7907150a9bddb4f1b11782830f15ec2371.zip
sirit: Add missing reference argument specifier for OpLabel
Diffstat (limited to 'include')
-rw-r--r--include/sirit/sirit.h2
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);
}