Mercurial > hg > orthanc-databases
comparison Framework/Plugins/IndexBackend.cpp @ 584:47b14499455e find-refactoring
fix initialization in ReadOnly mode
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 04 Nov 2024 17:51:22 +0100 |
parents | ae7375d38607 |
children | 65e39e76c2b6 |
comparison
equal
deleted
inserted
replaced
583:ae7375d38607 | 584:47b14499455e |
---|---|
303 statement.Next(); | 303 statement.Next(); |
304 } | 304 } |
305 } | 305 } |
306 | 306 |
307 | 307 |
308 IndexBackend::IndexBackend(OrthancPluginContext* context) : | 308 IndexBackend::IndexBackend(OrthancPluginContext* context, |
309 context_(context) | 309 bool readOnly) : |
310 context_(context), | |
311 readOnly_(readOnly) | |
310 { | 312 { |
311 } | 313 } |
312 | 314 |
313 | 315 |
314 void IndexBackend::SetOutputFactory(IDatabaseBackendOutput::IFactory* factory) | 316 void IndexBackend::SetOutputFactory(IDatabaseBackendOutput::IFactory* factory) |