Correctly forward the line_info parameter

This commit is contained in:
Alexander Karatarakis 2017-03-22 17:18:41 -07:00
parent 197d471b42
commit 004e46d982
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}
}

View File

@ -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)