Mercurial > hg > orthanc-databases
diff PostgreSQL/Plugins/PostgreSQLIndex.cpp @ 201:42990b2dd51b
create IDatabaseBackendOutput only if needed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 Mar 2021 16:51:51 +0100 |
parents | 8cae98f73d53 |
children | 13a3863df7fa |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp Thu Mar 18 15:21:17 2021 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp Thu Mar 18 16:51:51 2021 +0100 @@ -257,8 +257,9 @@ } - PostgreSQLIndex::PostgreSQLIndex(const PostgreSQLParameters& parameters) : - IndexBackend(new Factory(*this)), + PostgreSQLIndex::PostgreSQLIndex(OrthancPluginContext* context, + const PostgreSQLParameters& parameters) : + IndexBackend(context, new Factory(*this)), parameters_(parameters), clearAll_(false) {