comparison OrthancServer/Sources/ServerIndex.cpp @ 4586:1d96fe7e054e db-changes

taking StatelessDatabaseOperations out of ServerIndex
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Mar 2021 18:24:59 +0100
parents f0bdd99f3d81
children 888868a5dc4e
comparison
equal deleted inserted replaced
4585:f0bdd99f3d81 4586:1d96fe7e054e
342 return new Context(index_); 342 return new Context(index_);
343 } 343 }
344 }; 344 };
345 345
346 346
347 class ServerIndex::Transaction 347 class ServerIndex::Transaction : public boost::noncopyable
348 { 348 {
349 private: 349 private:
350 ServerIndex& index_; 350 ServerIndex& index_;
351 std::unique_ptr<IDatabaseWrapper::ITransaction> transaction_; 351 std::unique_ptr<IDatabaseWrapper::ITransaction> transaction_;
352 bool isCommitted_; 352 bool isCommitted_;