mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 23:19:05 +08:00
Correctly forward the line_info parameter
This commit is contained in:
parent
197d471b42
commit
004e46d982
@ -11,6 +11,6 @@ namespace vcpkg::Enums
|
||||
|
||||
__declspec(noreturn) void nullvalue_used(const LineInfo& line_info, const std::string& enum_name)
|
||||
{
|
||||
Checks::exit_with_message(VCPKG_LINE_INFO, "NULLVALUE of enum %s was used", enum_name);
|
||||
Checks::exit_with_message(line_info, "NULLVALUE of enum %s was used", enum_name);
|
||||
}
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ namespace vcpkg::Files
|
||||
|
||||
void check_is_directory(const LineInfo& line_info, const fs::path& dirpath)
|
||||
{
|
||||
Checks::check_exit(VCPKG_LINE_INFO, fs::is_directory(dirpath), "The path %s is not a directory", dirpath.string());
|
||||
Checks::check_exit(line_info, fs::is_directory(dirpath), "The path %s is not a directory", dirpath.string());
|
||||
}
|
||||
|
||||
bool has_invalid_chars_for_filesystem(const std::string& s)
|
||||
|
Loading…
Reference in New Issue
Block a user