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:
parent
bfe6c0a0c1
commit
ce814c9e99
@ -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_;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user