Просмотр исходного кода

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

Paul 11 лет назад
Родитель
Сommit
4c7794d5a5
1 измененных файлов с 1 добавлено и 1 удалено
  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");
     }
 
 }