From d4e026582123402d359c7d995c5a2f5a2148faa2 Mon Sep 17 00:00:00 2001 From: yuyoyuppe Date: Thu, 15 Oct 2020 15:43:26 +0300 Subject: [PATCH] VCM: fix compilation warning --- src/modules/videoconference/VideoConferenceShared/Logging.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/videoconference/VideoConferenceShared/Logging.cpp b/src/modules/videoconference/VideoConferenceShared/Logging.cpp index 375473a7bca7..d7d3285eee28 100644 --- a/src/modules/videoconference/VideoConferenceShared/Logging.cpp +++ b/src/modules/videoconference/VideoConferenceShared/Logging.cpp @@ -45,9 +45,9 @@ void LogToFile(std::string what, const bool verbose) } if (logSizeMBs > maxLogSizeMegabytes) { - std::error_code _; + std::error_code __; // Truncate the log file to zero - std::filesystem::resize_file(logFilePath, 0, _); + std::filesystem::resize_file(logFilePath, 0, __); } std::ofstream myfile; myfile.open(logFilePath, std::fstream::app);