From 803b0a281109fa2229780f961914ee64bfaa8dbb Mon Sep 17 00:00:00 2001 From: Andrey Guskov Date: Fri, 20 Feb 2015 17:36:13 +0300 Subject: [PATCH] Fixed CPU name retrieval --- ispc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }