Merge pull request #8 from lioncash/ref

sirit: Add missing reference argument specifier for OpLabel
This commit is contained in:
ReinUsesLisp 2019-03-14 03:39:30 -03:00 committed by GitHub
commit a8ac2068a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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