Skip to content

Commit

Permalink
VCM: fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyoyuppe committed Oct 15, 2020
1 parent 6e92e20 commit d4e0265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/videoconference/VideoConferenceShared/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d4e0265

Please sign in to comment.