Mercurial > hg > orthanc
diff OrthancServer/ServerContext.cpp @ 1247:32fcc5dc7562
abstraction
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Dec 2014 13:54:27 +0100 |
parents | f1c01451a8ee |
children | 88010d8e12cf |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp Mon Dec 08 12:56:30 2014 +0100 +++ b/OrthancServer/ServerContext.cpp Mon Dec 08 13:54:27 2014 +0100 @@ -71,8 +71,8 @@ namespace Orthanc { - ServerContext::ServerContext(const boost::filesystem::path& indexPath) : - index_(*this, indexPath.string()), + ServerContext::ServerContext(IDatabaseWrapper& database) : + index_(*this, database), compressionEnabled_(false), provider_(*this), dicomCache_(provider_, DICOM_CACHE_SIZE),