Mercurial > hg > orthanc-databases
diff SQLite/Plugins/SQLiteIndex.h @ 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 | 61c309e06797 |
line wrap: on
line diff
--- a/SQLite/Plugins/SQLiteIndex.h Thu Mar 18 15:21:17 2021 +0100 +++ b/SQLite/Plugins/SQLiteIndex.h Thu Mar 18 16:51:51 2021 +0100 @@ -64,9 +64,10 @@ IDatabase* OpenInternal(); public: - SQLiteIndex(); // Opens in memory + SQLiteIndex(OrthancPluginContext* context); // Opens in memory - SQLiteIndex(const std::string& path); + SQLiteIndex(OrthancPluginContext* context, + const std::string& path); void SetFast(bool fast) {