From f571f6b2bf1370b0757c29162988a40e02a82f91 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 28 Mar 2020 17:56:00 +0000 Subject: Fixes for tidy --- libsqlitepp/sqlite-mock.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libsqlitepp/sqlite-mock.h') diff --git a/libsqlitepp/sqlite-mock.h b/libsqlitepp/sqlite-mock.h index cc182d4..45caef9 100644 --- a/libsqlitepp/sqlite-mock.h +++ b/libsqlitepp/sqlite-mock.h @@ -4,6 +4,7 @@ #include #include #include +#include namespace SQLite { @@ -11,13 +12,15 @@ class DLL_PUBLIC Mock : public DB::MockDatabase { public: Mock(const std::string & root, const std::string & name, const std::vector & ss); Mock(const std::string & name, const std::vector & ss); - ~Mock(); + ~Mock() override; + + SPECIAL_MEMBERS_MOVE_RO(Mock); protected: void DropDatabase() const override; void CreateNewDatabase() const override; - DB::ConnectionPtr openConnection() const override; + [[nodiscard]] DB::ConnectionPtr openConnection() const override; private: const std::filesystem::path testDbPath; -- cgit v1.2.3