Explorar el Código

std::exception::exception const char* not found in the Linux builds, use runtime_error instead :s

Paul hace 11 años
padre
commit
4c7794d5a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      utilities/q-gears-launcher/src/ff7DataInstaller.cpp

+ 1 - 1
utilities/q-gears-launcher/src/ff7DataInstaller.cpp

@@ -42,7 +42,7 @@ FF7DataInstaller::FF7DataInstaller(std::string inputDir, std::string outputDir)
 {
     if (!mApp.initOgre(true))
     {
-        throw std::exception("Ogre init failure");
+        throw std::runtime_error("Ogre init failure");
     }
 
 }