diff --git a/src/List.h b/src/List.h index 58624c7f0b..d4b9798e4d 100644 --- a/src/List.h +++ b/src/List.h @@ -33,8 +33,8 @@ template class List { public: - const int DEFAULT_LIST_SIZE = 10; - const int LIST_GROWTH_FACTOR = 2; + constexpr static int DEFAULT_LIST_SIZE = 10; + constexpr static int LIST_GROWTH_FACTOR = 2; ~List() { free(entries); } explicit List(int size = 0)