From 32e31201ffc6b7e30208667a011174e761730c7d Mon Sep 17 00:00:00 2001 From: Julian Hinxlage Date: Thu, 19 Dec 2019 12:14:26 +0100 Subject: [PATCH] ~ fixed default values unit tests --- src/internal.cpp | 5 ----- src/log.cpp | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/internal.cpp b/src/internal.cpp index 8e906cb..36d381c 100644 --- a/src/internal.cpp +++ b/src/internal.cpp @@ -11,11 +11,6 @@ namespace vkvm { auto setDefaultValues() -> void { impl.localMemoryWarn = false; if (getSharedMemory() != nullptr) { - if (!impl.localSharedMemory.empty()) { - if(getSharedMemory() == &impl.localSharedMemory[0]){ - return; - } - } setMode(GraphicMode::RGB); setCharactersPerRow(60); setCharactersPerColumn(20); diff --git a/src/log.cpp b/src/log.cpp index 5e73ce1..d7999c0 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -138,6 +138,7 @@ namespace vkvm { if(logToFileStream.is_open()){ if(level >= fileLogLevel){ logToFileStream << noColorStream.str(); + //TODO(julian): fixme logToFileStream.flush(); } }