From 59867b7907150a9bddb4f1b11782830f15ec2371 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 14 Mar 2019 02:31:13 -0400 Subject: [PATCH] sirit: Add missing reference argument specifier for OpLabel --- include/sirit/sirit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }