Add .get() to return the counter in its natural size.
This commit is contained in:
1 parent
136003af7d
commit
67f5ee3e56
1 file changed
+4
@@ -52,6 +52,10 @@ public:
|
||||
return CastT(value_);
|
||||
}
|
||||
|
||||
IntT get() const {
|
||||
return value_;
|
||||
}
|
||||
|
||||
CircularCounter &operator = (const IntT rhs) {
|
||||
value_ = rhs;
|
||||
return *this;
|
||||
|
||||
Reference in new issue
Block a user