Sfoglia il codice sorgente

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

Paul 11 anni fa
parent
commit
4c7794d5a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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");
     }
 
 }