Merge pull request #956 from ncos/ispc_build_fails

Fix build fail after commit c377d: make code C++ 03 friendly
This commit is contained in:
Dmitry Babokin
2015-02-04 15:07:56 +03:00

View File

@@ -223,8 +223,8 @@ typedef enum {
class AllCPUs {
private:
std::vector<std::vector<std::string>> names;
std::vector<std::set<CPUtype>> compat;
std::vector<std::vector<std::string> > names;
std::vector<std::set<CPUtype> > compat;
std::set<CPUtype> Set(CPUtype type, ...) {
std::set<CPUtype> retn;
@@ -241,8 +241,8 @@ private:
public:
AllCPUs() {
names = std::vector<std::vector<std::string>>(sizeofCPUtype);
compat = std::vector<std::set<CPUtype>>(sizeofCPUtype);
names = std::vector<std::vector<std::string> >(sizeofCPUtype);
compat = std::vector<std::set<CPUtype> >(sizeofCPUtype);
names[CPU_Generic].push_back("generic");