Remove unnecessary configuration member variable.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-08-09 17:13:26 +01:00
parent 2067d91614
commit 2b3bc80f8a

View File

@ -6,14 +6,9 @@ namespace LR35902.BlarggTest
{
public class Computer
{
private readonly Configuration configuration;
private readonly Board board;
public Computer(Configuration configuration)
{
this.configuration = configuration;
this.board = new Board(configuration);
}
public Computer(Configuration configuration) => this.board = new Board(configuration);
public void Run()
{