X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/90e389f6ec12e60a62c362296ffcf314feb5b03d..392a542a849ec49772db0eb237bb064c4f09008d:/include/stg/store.h 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 * 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 * hdrsList, const std::string & login) const = 0; + virtual int GetMessageHdrs(std::vector * hdrsList, const std::string & login) const = 0; virtual int SaveMonthStat(const USER_STAT & stat, int month, int year, const std::string & login) const = 0;