Add missing const

This commit is contained in:
Alexander Karatarakis 2017-08-31 18:04:39 -07:00
parent badecd4207
commit 07c963f369

View File

@ -389,7 +389,7 @@ namespace vcpkg::PostBuildLint
file.extension() == ".dll",
"The file extension was not .dll: %s",
file.generic_string());
CoffFileReader::DllInfo info = CoffFileReader::read_dll(file);
const CoffFileReader::DllInfo info = CoffFileReader::read_dll(file);
const std::string actual_architecture = get_actual_architecture(info.machine_type);
if (expected_architecture != actual_architecture)