소스 검색

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

Paul 11 년 전
부모
커밋
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");
     }
 
 }