From 54d1f4ec3b0e212481b711bac3d1dd5c67afe274 Mon Sep 17 00:00:00 2001 From: gcontini <1121667+gcontini@users.noreply.github.com> Date: ćšć, 20 5æ 2021 14:15:11 +0800 Subject: [PATCH] removed valgrind (had a problem in ubuntu 20.04) --- src/library/ini/SimpleIni.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/library/ini/SimpleIni.h b/src/library/ini/SimpleIni.h index 5b11f4f..7142085 100644 --- a/src/library/ini/SimpleIni.h +++ b/src/library/ini/SimpleIni.h @@ -223,7 +223,7 @@ # include <iostream> #endif // SI_SUPPORT_IOSTREAMS -#ifdef _DEBUG +#ifndef NDEBUG # ifndef assert # include <cassert> # endif @@ -2489,6 +2489,9 @@ bNeedNewLine = true; } + // Append new empty line + a_oOutput.Write(SI_NEWLINE_A); + return SI_OK; } -- Gitblit v1.9.1