8000 Fix deprecation of empty arguments inserting () · sim642/adventofcode@b2eae75 · GitHub
[go: up one dir, main page]

Skip to content

Commit b2eae75

Browse files
committed
Fix deprecation of empty arguments inserting ()
1 parent df83010 commit b2eae75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/eu/sim642/adventofcode2020/Day22.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ object Day22 {
7373
playWinner(recDecks)
7474
} else {
7575
if (card1 > card2)
76-
Left()
76+
Left(())
7777
else
78-
Right()
78+
Right(())
7979
}
8080
}
8181

0 commit comments

Comments
 (0)
0