Sfoglia il codice sorgente

Use runtime error.

Malcolm Tyrrell 5 anni fa
parent
commit
a4110a59c5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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")
             {