1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 03:32:01 +00:00

These can be const.

This commit is contained in:
Thomas Harte 2016-12-28 21:23:22 -05:00
parent bfe6c0a0c1
commit ce814c9e99

View File

@ -32,7 +32,7 @@ class CRC16 {
inline void set_value(uint16_t value) { value_ = value; }
private:
uint16_t reset_value_, polynomial_;
const uint16_t reset_value_, polynomial_;
uint16_t value_;
};