From 08293e4b1f5d779af4823d62c60a0b9b4ffa068d Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Mon, 13 Feb 2017 17:14:13 +1100 Subject: [PATCH] pascal: array size should be constant --- pascal.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pascal.hpp b/pascal.hpp index 496e806b..b9183877 100644 --- a/pascal.hpp +++ b/pascal.hpp @@ -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