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
b17480b0b4
commit
170cfa3f39
@ -7,7 +7,7 @@ namespace vcpkg
|
||||
{
|
||||
MachineType to_machine_type(const uint16_t value)
|
||||
{
|
||||
MachineType t = static_cast<MachineType>(value);
|
||||
const MachineType t = static_cast<MachineType>(value);
|
||||
switch (t)
|
||||
{
|
||||
case MachineType::UNKNOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user