Mercurial > hg > orthanc
diff OrthancServer/main.cpp @ 1549:e5e975e9b738
refactoring and simplification of StorageAccessor
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 17 Aug 2015 10:47:04 +0200 |
parents | 4f8c8ef114db |
children | 904096e7367e |
line wrap: on
line diff
--- a/OrthancServer/main.cpp Fri Aug 14 11:52:03 2015 +0200 +++ b/OrthancServer/main.cpp Mon Aug 17 10:47:04 2015 +0200 @@ -521,8 +521,7 @@ IStorageArea& storageArea, OrthancPlugins *plugins) { - ServerContext context(database); - context.SetStorageArea(storageArea); + ServerContext context(database, storageArea); context.SetCompressionEnabled(Configuration::GetGlobalBoolParameter("StorageCompression", false)); context.SetStoreMD5ForAttachments(Configuration::GetGlobalBoolParameter("StoreMD5ForAttachments", true));