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); }