diff --git a/mace/examples/mace_run.cc b/mace/examples/mace_run.cc index bc548ff5c9fa6ee6fb043bf52ea7dd1a2d89b8a2..66cf8a7dc5f817a1b9dc36d5a448ee620c9203f7 100644 --- a/mace/examples/mace_run.cc +++ b/mace/examples/mace_run.cc @@ -53,7 +53,7 @@ DeviceType ParseDeviceType(const string &device_str) { } else if (device_str.compare("OPENCL") == 0) { return DeviceType::OPENCL; } else if (device_str.compare("HEXAGON") == 0) { - return DeviceType ::HEXAGON; + return DeviceType::HEXAGON; } else { return DeviceType::CPU; }