diff --git a/ispc.cpp b/ispc.cpp index ccd223b0..6e6bb58e 100644 --- a/ispc.cpp +++ b/ispc.cpp @@ -352,7 +352,7 @@ public: return CPUs.str(); } - std::string GetDefaultNameFromType(CPUtype type) { + std::string &GetDefaultNameFromType(CPUtype type) { Assert((type > CPU_None) && (type < sizeofCPUtype)); return names[type][0]; }