diff --git a/Jupiter/ArrayList.h b/Jupiter/ArrayList.h index 4890366..a76c667 100644 --- a/Jupiter/ArrayList.h +++ b/Jupiter/ArrayList.h @@ -146,7 +146,7 @@ template Jupiter::ArrayList::ArrayList(const Jupiter::ArrayList::dataSize = source.dataSize; Jupiter::ArrayList::data = new T*[Jupiter::ArrayList::dataSize]; Jupiter::List::length = 0; - while (Jupiter::List::length != Jupiter::List::length) + while (Jupiter::List::length != source.length) { Jupiter::ArrayList::data[Jupiter::List::length] = source.data[Jupiter::List::length]; ++Jupiter::List::length; diff --git a/Release/Jupiter.lib b/Release/Jupiter.lib index 45b63c6..536e7d8 100644 Binary files a/Release/Jupiter.lib and b/Release/Jupiter.lib differ