From 573878f6b045d1834d59dc6016dd16ffb1659067 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 1 Jan 2017 15:51:09 +0000 Subject: Register mock db implementations --- libpqpp/pq-mock.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libpqpp') diff --git a/libpqpp/pq-mock.cpp b/libpqpp/pq-mock.cpp index 44c8cc9..f72c01f 100644 --- a/libpqpp/pq-mock.cpp +++ b/libpqpp/pq-mock.cpp @@ -5,6 +5,8 @@ #include #include +NAMEDFACTORY("postgresql", PQ::Mock, DB::MockDatabaseFactory); + namespace PQ { Mock::Mock(const std::string & masterdb, const std::string & name, const std::vector & ss) : -- cgit v1.2.3