X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fexceptions.h;h=80d4801daf83d24854d2b6f1e23a11b6497eab9a;hp=ed002d0a9a1ea7856090be16c246490a2ad35b14;hb=2b9bdd0f97172514efe265a517653c4e49d89f55;hpb=8c867a69d4a93cf81b89a612764eb0be902b7407 diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index ed002d0a9..80d4801da 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -351,8 +351,8 @@ public: explicit InvalidSignerError (std::string reason); }; -class ProgrammingError : public std::runtime_error +class ProgrammingError : public std::runtime_error { public: ProgrammingError (std::string file, int line, std::string message = ""); @@ -466,8 +466,8 @@ class PrivilegeError : public std::runtime_error { public: explicit PrivilegeError (std::string s) - : std::runtime_error (s) - {} + : std::runtime_error (s) + {} };