window on stack

This commit is contained in:
Thibault Heckel 2022-08-31 13:14:37 +02:00
parent 4578e1d2c0
commit cfd6fa6993
2 changed files with 7 additions and 5 deletions

View File

@ -69,6 +69,8 @@ skills."Critical Eye" = 1
[sets."Aelucanth X Set".legs]
name = "Aelucanth Crura X"
slots = [2, 1]
skills."Critical Eye" = 3
skills."Dragon Attack" = 1
skills."Evade Window" = 1
skills = [
{ "Critical Eye" = 3 },
{ "Dragon Attack" = 1 },
{ "Evade Window" = 1 },
]

View File

@ -7,7 +7,7 @@
int main(int argc, char** argv)
{
auto window = std::make_unique<MHacheWindow>(640, 480);
window->display();
auto window = MHacheWindow(640, 480);
window.display();
return 0;
}