From e8dd92f0ae58ebdcb9bcc111adb2b981e7b4a14f Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Wed, 8 Dec 2021 19:52:22 +0000 Subject: [PATCH] Fix crash due to limited stack space. --- MC6809/test/test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MC6809/test/test.cpp b/MC6809/test/test.cpp index 0bf1724..7a8ac70 100644 --- a/MC6809/test/test.cpp +++ b/MC6809/test/test.cpp @@ -14,8 +14,8 @@ int main(int argc, char* argv[]) { configuration.setDebugMode(true); #endif - EightBit::TestHarness harness(configuration); - harness.run(); + auto harness = std::make_shared>(configuration); + harness->run(); return 0; } \ No newline at end of file