浏览代码

[mingw]
*VCAI fix build

alexvins 12 年之前
父节点
当前提交
d99bc7ca07
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      AI/VCAI/VCAI.cpp

+ 2 - 2
AI/VCAI/VCAI.cpp

@@ -2120,7 +2120,7 @@ void VCAI::striveToGoal(const CGoal &ultimateGoal)
 
 			if (!maxGoals)
 			{
-				std::exception e("Too many subgoals, don't know what to do");
+				std::runtime_error e("Too many subgoals, don't know what to do");
 				throw (e);
 			}
 
@@ -2193,7 +2193,7 @@ void VCAI::striveToGoal(const CGoal &ultimateGoal)
 				boost::this_thread::interruption_point();
 				if (!maxGoals)
 				{
-					std::exception e("Too many subgoals, don't know what to do");
+					std::runtime_error e("Too many subgoals, don't know what to do");
 					throw (e);
 				}
 				tryRealize(goal);