mirror of https://github.com/microsoft/vcpkg.git
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