Suppression d'une allocation inutile dans le main
This commit is contained in:
parent
15cc531be3
commit
13fc2e3b92
|
@ -9,7 +9,6 @@
|
|||
int main() {
|
||||
Manager manager;
|
||||
std::shared_ptr<Menu> menu = std::shared_ptr<Menu>(new Menu(manager));
|
||||
std::shared_ptr<Editor> editor = std::shared_ptr<Editor>(new Editor(manager));
|
||||
|
||||
try {
|
||||
manager.setState(menu);
|
||||
|
|
Loading…
Reference in New Issue