added operator with void args, just returning CRC

This commit is contained in:
Ahmet Inan 2018-07-29 08:11:14 +02:00
commit b3bede5cea

4
crc.hh
View file

@ -33,6 +33,10 @@ public:
{
crc = v;
}
TYPE operator()()
{
return crc;
}
TYPE operator()(bool data)
{
TYPE tmp = crc ^ data;