~ fixed default values unit tests

This commit is contained in:
Julian Hinxlage 2019-12-19 12:14:26 +01:00
parent 798a5e103d
commit 32e31201ff
2 changed files with 1 additions and 5 deletions

View File

@ -11,11 +11,6 @@ namespace vkvm {
auto setDefaultValues() -> void { auto setDefaultValues() -> void {
impl.localMemoryWarn = false; impl.localMemoryWarn = false;
if (getSharedMemory() != nullptr) { if (getSharedMemory() != nullptr) {
if (!impl.localSharedMemory.empty()) {
if(getSharedMemory() == &impl.localSharedMemory[0]){
return;
}
}
setMode(GraphicMode::RGB); setMode(GraphicMode::RGB);
setCharactersPerRow(60); setCharactersPerRow(60);
setCharactersPerColumn(20); setCharactersPerColumn(20);

View File

@ -138,6 +138,7 @@ namespace vkvm {
if(logToFileStream.is_open()){ if(logToFileStream.is_open()){
if(level >= fileLogLevel){ if(level >= fileLogLevel){
logToFileStream << noColorStream.str(); logToFileStream << noColorStream.str();
//TODO(julian): fixme
logToFileStream.flush(); logToFileStream.flush();
} }
} }