pascal: array size should be constant
This commit is contained in:
parent
b39f80e606
commit
08293e4b1f
@ -43,7 +43,7 @@ namespace util {
|
||||
size_t size (void) const;
|
||||
|
||||
private:
|
||||
size_t m_size;
|
||||
const size_t m_size;
|
||||
T *m_data;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user