Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--Sem. 13/README.md2
diff --git a/Sem. 13/README.md b/Sem. 13/README.md
index 833f745..c1e2a36 100644
--- a/Sem. 13/README.md
+++ b/Sem. 13/README.md
@@ -195,7 +195,7 @@ void FruitStore::copyFrom(const FruitStore& other)
{
fruits = new Fruit*[other. capacity];
for(int i = 0; i < other.count; i++)
- fruits[i] = other.fruits[u]->clone();
+ fruits[i] = other.fruits[i]->clone();
count = other.count;
capacity = other.capacity;
}