Use delegate function

As suggested by Henrik I changed it to use a delegate function, which reduces
code duplication and makes things cleaner
This commit is contained in:
Steven vanZyl 2020-10-05 10:08:51 -04:00
parent 67c1e7c3f9
commit 3f28411f64
4 changed files with 15 additions and 15 deletions