From 657b285375de001af6562da4b58da8c83707fe8a Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 6 May 2018 09:49:29 -0400 Subject: [PATCH] more --- contrib/backends/nntpchan-daemon/include/nntpchan/message.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/backends/nntpchan-daemon/include/nntpchan/message.hpp b/contrib/backends/nntpchan-daemon/include/nntpchan/message.hpp index 2778f80..d10c321 100644 --- a/contrib/backends/nntpchan-daemon/include/nntpchan/message.hpp +++ b/contrib/backends/nntpchan-daemon/include/nntpchan/message.hpp @@ -10,6 +10,7 @@ struct MessageDB { using BoardPage = nntpchan::model::BoardPage; using Thread = nntpchan::model::Thread; + virtual ~MessageDB() {}; virtual bool LoadBoardPage(BoardPage &board, const std::string &newsgroup, uint32_t perpage, uint32_t page) const = 0; virtual bool FindThreadByHash(const std::string &hashhex, std::string &msgid) const = 0; virtual bool LoadThread(Thread &thread, const std::string &rootmsgid) const = 0;