From e2def0f3c948a89af12221f158fc19523a5af1fc Mon Sep 17 00:00:00 2001 From: Ahmet Inan Date: Sun, 29 Jul 2018 08:32:22 +0200 Subject: [PATCH] use default value 0 if arg to reset() is ommited --- crc.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc.hh b/crc.hh index 2c96761..85d871e 100644 --- a/crc.hh +++ b/crc.hh @@ -29,7 +29,7 @@ public: } } } - void reset(TYPE v) + void reset(TYPE v = 0) { crc = v; }