diff --git a/common/bsputils.cc b/common/bsputils.cc index 56acd0b9..9b31fcc0 100644 --- a/common/bsputils.cc +++ b/common/bsputils.cc @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -961,13 +962,13 @@ std::vector LoadLitFile(const fs::path &path) std::array ident; stream >= ident; if (ident != std::array{'Q','L','I','T'}) { - throw std::exception("invalid lit ident"); + throw std::runtime_error("invalid lit ident"); } int version; stream >= version; if (version != 1) { - throw std::exception("invalid lit version"); + throw std::runtime_error("invalid lit version"); } std::vector litdata;