Update default compilation flags

Synced from ndn-tools

Change-Id: I95e451f6978f473ad6f616277803464effffd3a7
diff --git a/src/ca-storage.hpp b/src/ca-storage.hpp
index 0a85f6c..ab5e38d 100644
--- a/src/ca-storage.hpp
+++ b/src/ca-storage.hpp
@@ -1,6 +1,6 @@
 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
 /**
- * Copyright (c) 2017, Regents of the University of California.
+ * Copyright (c) 2017-2018, Regents of the University of California.
  *
  * This file is part of ndncert, a certificate management system based on NDN.
  *
@@ -38,8 +38,10 @@
     using std::runtime_error::runtime_error;
   };
 
-public:
-  // certificate request related
+  virtual
+  ~CaStorage();
+
+public: // certificate request related
   virtual CertificateRequest
   getRequest(const std::string& requestId) = 0;
 
@@ -58,7 +60,7 @@
   virtual std::list<CertificateRequest>
   listAllRequests(const Name& caName) = 0;
 
-  // certificate related
+public: // certificate related
   virtual security::v2::Certificate
   getCertificate(const std::string& certId) = 0;
 
@@ -77,7 +79,7 @@
   virtual std::list<security::v2::Certificate>
   listAllIssuedCertificates(const Name& caName) = 0;
 
-public:
+public: // factory
   template<class CaStorageType>
   static void
   registerCaStorage(const std::string& caStorageType = CaStorageType::STORAGE_TYPE)