you don't need to use 'ref' with reference types
This commit is contained in:
@@ -145,12 +145,12 @@
|
||||
{
|
||||
if (currentOperand != "") equation.Add(new Token(Token.TokenType.Operand, currentOperand));
|
||||
buttonEquals.Text = "#";
|
||||
currentOperand = reverseNotationSolver.Solve(ref equation);
|
||||
currentOperand = reverseNotationSolver.Solve(equation);
|
||||
UpdateLabels();
|
||||
}
|
||||
}
|
||||
|
||||
public void AcquireOutputLabels(ref Label equationTextBox, ref Label currentOperandTextBox)
|
||||
public void AcquireOutputLabels(Label equationTextBox, Label currentOperandTextBox)
|
||||
{
|
||||
outerEquationLabel = equationTextBox;
|
||||
outerOperandLabel = currentOperandTextBox;
|
||||
|
||||
Reference in New Issue
Block a user