Mercurial > hg > orthanc
changeset 627:b8f738685ad2
fix for visual studio
author | jodogne |
---|---|
date | Fri, 25 Oct 2013 13:24:19 +0200 |
parents | 7e7f41a9f33d |
children | 8d1175318bb3 6008594694f6 |
files | Core/DicomFormat/DicomIntegerPixelAccessor.cpp Core/HttpServer/EmbeddedResourceHttpHandler.cpp |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Core/DicomFormat/DicomIntegerPixelAccessor.cpp Fri Oct 25 12:43:02 2013 +0200 +++ b/Core/DicomFormat/DicomIntegerPixelAccessor.cpp Fri Oct 25 13:24:19 2013 +0200 @@ -30,12 +30,12 @@ **/ -#include "DicomIntegerPixelAccessor.h" - #ifndef NOMINMAX #define NOMINMAX #endif +#include "DicomIntegerPixelAccessor.h" + #include "../OrthancException.h" #include <boost/lexical_cast.hpp> #include <limits>
--- a/Core/HttpServer/EmbeddedResourceHttpHandler.cpp Fri Oct 25 12:43:02 2013 +0200 +++ b/Core/HttpServer/EmbeddedResourceHttpHandler.cpp Fri Oct 25 13:24:19 2013 +0200 @@ -79,7 +79,7 @@ size_t size = EmbeddedResources::GetDirectoryResourceSize(resourceId_, resourcePath.c_str()); output.AnswerBufferWithContentType(buffer, size, contentType); } - catch (OrthancException& e) + catch (OrthancException&) { LOG(WARNING) << "Unable to find HTTP resource: " << resourcePath; output.SendHeader(HttpStatus_404_NotFound);