diff options
Autocommit at 02.05.2022 @ 08:15
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/List/List.cpp | 2 |
diff --git a/src/List/List.cpp b/src/List/List.cpp index a0d0849..163c82a 100644 --- a/src/List/List.cpp +++ b/src/List/List.cpp @@ -69,7 +69,7 @@ std::istream& List<T>::read(std::istream& istr) { elements = new T[length]; for (int i = 0; i < count; i++) - istr >> elements[i]; + elements[i].read(istr); return istr; } |
