Fix errors from new cpplint.py (#7105)

This commit is contained in:
Tyler Veness
2024-09-20 17:43:39 -07:00
committed by GitHub
parent f1dde8895e
commit 554024767e
464 changed files with 1026 additions and 218 deletions

View File

@@ -4,7 +4,9 @@
#include "Instance.h"
#include <memory>
#include <string_view>
#include <utility>
#include <fmt/format.h>
#include <wpi/fs.h>
@@ -30,6 +32,7 @@ static void def_log_func(unsigned int level, const char* file,
return;
}
wpi::print(stderr, "CS: {}: {} ({}:{})\n", levelmsg, msg,
// NOLINTNEXTLINE(build/include_what_you_use)
fs::path{file}.filename().string(), line);
}