X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..ad7b95181d5d66817aac46801cd80adbc4f2fac7:/include/stg/store.h?ds=sidebyside

diff --git a/include/stg/store.h b/include/stg/store.h
index 0eaf6c3e..412ed65d 100644
--- a/include/stg/store.h
+++ b/include/stg/store.h
@@ -43,6 +43,7 @@
 //-----------------------------------------------------------------------------
 class STORE {
 public:
+    virtual ~STORE() {}
     virtual int GetUsersList(std::vector<std::string> * usersList) const = 0;
     virtual int AddUser(const std::string & login) const = 0;
     virtual int DelUser(const std::string & login) const = 0;
@@ -78,7 +79,7 @@ public:
     virtual int EditMessage(const STG_MSG & msg, const std::string & login) const = 0;
     virtual int GetMessage(uint64_t id, STG_MSG * msg, const std::string & login) const = 0;
     virtual int DelMessage(uint64_t id, const std::string & login) const = 0;
-    virtual int GetMessageHdrs(vector<STG_MSG_HDR> * hdrsList, const std::string & login) const = 0;
+    virtual int GetMessageHdrs(std::vector<STG_MSG_HDR> * hdrsList, const std::string & login) const = 0;
 
     virtual int SaveMonthStat(const USER_STAT & stat, int month, int year, const std::string & login) const = 0;