mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 10:03:02 +08:00
Add missing const
This commit is contained in:
parent
badecd4207
commit
07c963f369
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user