diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-31 18:04:39 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-08-31 18:04:39 -0700 |
| commit | 07c963f36930a34050c57119c227cd95ea6d60aa (patch) | |
| tree | f4c2a388a01bd1f8cd53cd74ca14bd078c711601 /toolsrc/src/PostBuildLint.cpp | |
| parent | badecd4207902b5faebb07a2c2f807f345994040 (diff) | |
| download | vcpkg-07c963f36930a34050c57119c227cd95ea6d60aa.tar.gz vcpkg-07c963f36930a34050c57119c227cd95ea6d60aa.zip | |
Add missing const
Diffstat (limited to 'toolsrc/src/PostBuildLint.cpp')
| -rw-r--r-- | toolsrc/src/PostBuildLint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/PostBuildLint.cpp b/toolsrc/src/PostBuildLint.cpp index 8c04b94a0..a30648163 100644 --- a/toolsrc/src/PostBuildLint.cpp +++ b/toolsrc/src/PostBuildLint.cpp @@ -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) |
