From: yeji01.kim Date: Mon, 3 Jul 2023 02:07:02 +0000 (+0900) Subject: Fix build error X-Git-Tag: accepted/tizen/unified/20230712.040736^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cd248d67036ab1fc50d9a6180b6a927f7b7ac9e;p=platform%2Fcore%2Fsecurity%2Fklay.git Fix build error Change-Id: I45e224bd4f8bcb9323acb9fb853dea5fb0acbe36 --- diff --git a/include/klay/audit/logger.h b/include/klay/audit/logger.h index b45a9ee..4d75623 100644 --- a/include/klay/audit/logger.h +++ b/include/klay/audit/logger.h @@ -60,7 +60,7 @@ KLAY_EXPORT LogLevel StringToLogLevel(const std::string& level); #define KSINK nullptr #define FORMAT(items) \ -(static_cast(std::ostringstream() << items)).str() +(static_cast(std::ostringstream().flush() << items)).str() #define LOG(logsink, message, level) \ do { \