]> WPIA git - cassiopeia.git/blobdiff - src/db/database.h
fix: catch another exception
[cassiopeia.git] / src / db / database.h
index 132d8ef22b1b521760c6015701a369648a9962c9..31687b13ce43242e68ab14babba87ae25e2908f6 100644 (file)
@@ -26,6 +26,7 @@ struct AVA {
 struct TBSCertificate {
     std::string md;
     std::string profile;
+
     /**
      * CSR path
      */
@@ -39,7 +40,6 @@ struct TBSCertificate {
     std::string wishTo;
 };
 
-
 struct SignedCertificate {
     std::string certificate;
     std::string serial;
@@ -54,6 +54,7 @@ struct SignedCertificate {
 
 class JobProvider {
 public:
+    virtual ~JobProvider() = default;
     virtual std::shared_ptr<Job> fetchJob() = 0;
     virtual void finishJob( std::shared_ptr<Job> job ) = 0;
     virtual void failJob( std::shared_ptr<Job> job ) = 0;