# HG changeset patch # User Sebastien Jodogne # Date 1586964495 -7200 # Node ID 0c16051dfd56168b03fe5d317fb3a69eb376bf68 # Parent a3e38994d95a16a49ea10ded8140cc6b9136125a test diff -r a3e38994d95a -r 0c16051dfd56 Core/HttpServer/HttpServer.cpp --- a/Core/HttpServer/HttpServer.cpp Wed Apr 15 14:45:52 2020 +0200 +++ b/Core/HttpServer/HttpServer.cpp Wed Apr 15 17:28:15 2020 +0200 @@ -170,7 +170,7 @@ - class ChunkStore + class ChunkStore : public boost::noncopyable { private: typedef std::list Content; @@ -308,7 +308,7 @@ struct mg_connection *connection, const std::string& contentLength) { - int length; + int length; try { length = boost::lexical_cast(contentLength); @@ -904,7 +904,6 @@ } } - if (!found && server.HasHandler()) { diff -r a3e38994d95a -r 0c16051dfd56 OrthancServer/DicomInstanceToStore.h --- a/OrthancServer/DicomInstanceToStore.h Wed Apr 15 14:45:52 2020 +0200 +++ b/OrthancServer/DicomInstanceToStore.h Wed Apr 15 17:28:15 2020 +0200 @@ -44,7 +44,7 @@ { class ParsedDicomFile; - class DicomInstanceToStore + class DicomInstanceToStore : public boost::noncopyable { public: typedef std::map, std::string> MetadataMap; diff -r a3e38994d95a -r 0c16051dfd56 OrthancServer/ServerContext.cpp --- a/OrthancServer/ServerContext.cpp Wed Apr 15 14:45:52 2020 +0200 +++ b/OrthancServer/ServerContext.cpp Wed Apr 15 17:28:15 2020 +0200 @@ -669,7 +669,7 @@ { #if ENABLE_DICOM_CACHE == 0 static std::unique_ptr p; - p.reset(provider_.Provide(instancePublicId)); + p.reset(that_.provider_.Provide(instancePublicId)); dicom_ = dynamic_cast(p.get()); #else dicom_ = &dynamic_cast(that_.dicomCache_.Access(instancePublicId));