From 63ce362b7a301e3589e0bf30ec8f2b41f6640251 Mon Sep 17 00:00:00 2001 From: cigerxwinchaker Date: Wed, 8 Jan 2020 11:58:15 +0100 Subject: [PATCH] override getConfig fix --- src/SharedMemory.cpp | 1 + test/test_demo.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SharedMemory.cpp b/src/SharedMemory.cpp index dc303b8..ef2aa0e 100644 --- a/src/SharedMemory.cpp +++ b/src/SharedMemory.cpp @@ -49,6 +49,7 @@ void initSharedMemory() { } else if (answer == "override") { deleteSharedMemory(); initSharedMemory(); + getConfig(); } } else { std::cout << "Shared Memory is (Re-) allocated with Key: " << vkvm::impl.sharedMemoryKey << std::endl; diff --git a/test/test_demo.cpp b/test/test_demo.cpp index 25b878f..972f344 100644 --- a/test/test_demo.cpp +++ b/test/test_demo.cpp @@ -1,6 +1,6 @@ #include "../src/SharedMemory.h" -TEST_CASE("Demo test") { +TEST_CASE("Demo test"){ REQUIRE(42 == 42); }