Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2023-01-22 16:02:53 +01:00
parent b802eaee3d
commit 2136ebefb3

View File

@@ -1147,7 +1147,7 @@ void translation_unit_visitor::ensure_lambda_type_is_relative(
auto root_name = fmt::format(
"{}\\", std::filesystem::current_path().root_name().string());
#else
auto root_name = "/";
auto root_name = std::string{"/"};
#endif
std::string lambda_prefix{fmt::format("(lambda at {}", root_name)};