pascal: array size should be constant

This commit is contained in:
Danny Robson 2017-02-13 17:14:13 +11:00
parent b39f80e606
commit 08293e4b1f

View File

@ -43,8 +43,8 @@ namespace util {
size_t size (void) const;
private:
size_t m_size;
T *m_data;
const size_t m_size;
T *m_data;
};
template <typename T>