Skip to content

Commit

Permalink
Add missing scoped annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sa-exe committed Oct 6, 2022
1 parent 1b17c89 commit 45728a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NitroSharp.NsScript/VM/BuiltInFunctionDispatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ public ConstantValue Take()
: throw new InvalidOperationException("Argument not provided.");
}

public ConstantValue TakeOpt(in ConstantValue defaultValue)
public ConstantValue TakeOpt(scoped in ConstantValue defaultValue)
{
return _pos < _args.Length
? _args[_pos++]
Expand Down

0 comments on commit 45728a9

Please sign in to comment.