浏览代码

Use runtime error.

Malcolm Tyrrell 5 年之前
父节点
当前提交
a4110a59c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/unit/utImporter.cpp

+ 1 - 1
test/unit/utImporter.cpp

@@ -317,7 +317,7 @@ namespace
             }
             else if (pFile == "stdException.fail")
             {
-                throw std::exception("std::exception test");
+                throw std::runtime_error("std::exception test");
             }
             else if (pFile == "unexpectedException.fail")
             {