Add missing const

This commit is contained in:
Alexander Karatarakis 2017-08-31 18:20:52 -07:00
parent b17480b0b4
commit 170cfa3f39

View File

@ -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: