Finished part 2.4
This commit is contained in:
@@ -27,6 +27,12 @@ public:
|
||||
head = nullptr;
|
||||
}
|
||||
|
||||
void PushFront(TMovie* m) const
|
||||
{
|
||||
auto* n = new TMovieNode(m);
|
||||
n->SetNextNode(head->GetNextNode());
|
||||
head->SetNextNode(n);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user