summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/tome/make_array.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/tome/make_array.hpp b/src/include/tome/make_array.hpp
index ac0edb80..23cb8ac0 100644
--- a/src/include/tome/make_array.hpp
+++ b/src/include/tome/make_array.hpp
@@ -5,7 +5,7 @@
/*
* Make an array of a POD type.
*/
-template <typename T> T *make_array(size_t n) {
+template <typename T> T *make_array(std::size_t n) {
static_assert(std::is_pod<T>::value, "Type parameter must be POD type");
T *array = new T[n];
memset(array, 0, n*sizeof(T));