diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-09 08:29:18 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-09 08:29:18 -0400 |
commit | 22882f01ed537cae28b2ce80b86264a9c9c52b00 (patch) | |
tree | 553dea987d50668b05181a6ed9abd0d0adf7cc30 /include/coolarray.hpp | |
parent | 6882786999581e2280c870249ae448c744767e73 (diff) |
proper game resetting
Diffstat (limited to 'include/coolarray.hpp')
-rw-r--r-- | include/coolarray.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/coolarray.hpp b/include/coolarray.hpp index 3e167b7..5388aab 100644 --- a/include/coolarray.hpp +++ b/include/coolarray.hpp @@ -16,7 +16,7 @@ public: _capacity = 0; } - CoolArray(size_t n, const T& value) { + CoolArray(size_t n, const T& value=0) { buffer = new T[n]; _size = n; _capacity = n; |