Fix crash due to limited stack space.

This commit is contained in:
Adrian Conlon 2021-12-08 19:52:22 +00:00
parent 712be312ef
commit e8dd92f0ae

View File

@ -14,8 +14,8 @@ int main(int argc, char* argv[]) {
configuration.setDebugMode(true);
#endif
EightBit::TestHarness<Configuration, Board> harness(configuration);
harness.run();
auto harness = std::make_shared<EightBit::TestHarness<Configuration, Board>>(configuration);
harness->run();
return 0;
}