Mercurial > hg > orthanc
changeset 4335:82652c5fc04f
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 01 Dec 2020 20:31:04 +0100 |
parents | b2366bc023f8 |
children | 9b38aadd4a99 |
files | OrthancFramework/Sources/HttpServer/FilesystemHttpHandler.h OrthancFramework/Sources/RestApi/RestApi.h OrthancServer/Resources/RunCppCheck.sh OrthancServer/Sources/EmbeddedResourceHttpHandler.h OrthancServer/Sources/OrthancHttpHandler.h |
diffstat | 5 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/FilesystemHttpHandler.h Mon Nov 30 16:33:40 2020 +0100 +++ b/OrthancFramework/Sources/HttpServer/FilesystemHttpHandler.h Tue Dec 01 20:31:04 2020 +0100 @@ -48,7 +48,7 @@ const char* username, HttpMethod method, const UriComponents& uri, - const HttpToolbox::Arguments& headers) + const HttpToolbox::Arguments& headers) ORTHANC_OVERRIDE { return false; } @@ -62,7 +62,7 @@ const HttpToolbox::Arguments& headers, const HttpToolbox::GetArguments& arguments, const void* /*bodyData*/, - size_t /*bodySize*/); + size_t /*bodySize*/) ORTHANC_OVERRIDE; bool IsListDirectoryContent() const {
--- a/OrthancFramework/Sources/RestApi/RestApi.h Mon Nov 30 16:33:40 2020 +0100 +++ b/OrthancFramework/Sources/RestApi/RestApi.h Tue Dec 01 20:31:04 2020 +0100 @@ -44,7 +44,7 @@ const char* username, HttpMethod method, const UriComponents& uri, - const HttpToolbox::Arguments& headers) + const HttpToolbox::Arguments& headers) ORTHANC_OVERRIDE { return false; } @@ -58,7 +58,7 @@ const HttpToolbox::Arguments& headers, const HttpToolbox::GetArguments& getArguments, const void* bodyData, - size_t bodySize); + size_t bodySize) ORTHANC_OVERRIDE; void Register(const std::string& path, RestApiGetCall::Handler handler);
--- a/OrthancServer/Resources/RunCppCheck.sh Mon Nov 30 16:33:40 2020 +0100 +++ b/OrthancServer/Resources/RunCppCheck.sh Tue Dec 01 20:31:04 2020 +0100 @@ -12,7 +12,7 @@ constParameter:../../OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.cpp knownArgument:../../OrthancFramework/UnitTestsSources/ImageTests.cpp knownConditionTrueFalse:../../OrthancServer/Plugins/Engine/OrthancPlugins.cpp -nullPointer:../../OrthancFramework/UnitTestsSources/RestApiTests.cpp:314 +nullPointer:../../OrthancFramework/UnitTestsSources/RestApiTests.cpp:318 nullPointerRedundantCheck:../../OrthancFramework/UnitTestsSources/DicomMapTests.cpp stlFindInsert:../../OrthancFramework/Sources/DicomFormat/DicomMap.cpp:1163 stlFindInsert:../../OrthancServer/Sources/OrthancWebDav.cpp:383
--- a/OrthancServer/Sources/EmbeddedResourceHttpHandler.h Mon Nov 30 16:33:40 2020 +0100 +++ b/OrthancServer/Sources/EmbeddedResourceHttpHandler.h Tue Dec 01 20:31:04 2020 +0100 @@ -57,7 +57,7 @@ const char* username, HttpMethod method, const UriComponents& uri, - const HttpToolbox::Arguments& headers) + const HttpToolbox::Arguments& headers) ORTHANC_OVERRIDE { return false; } @@ -71,6 +71,6 @@ const HttpToolbox::Arguments& headers, const HttpToolbox::GetArguments& arguments, const void* /*bodyData*/, - size_t /*bodySize*/); + size_t /*bodySize*/) ORTHANC_OVERRIDE; }; }
--- a/OrthancServer/Sources/OrthancHttpHandler.h Mon Nov 30 16:33:40 2020 +0100 +++ b/OrthancServer/Sources/OrthancHttpHandler.h Tue Dec 01 20:31:04 2020 +0100 @@ -56,7 +56,7 @@ const char* username, HttpMethod method, const UriComponents& uri, - const HttpToolbox::Arguments& headers); + const HttpToolbox::Arguments& headers) ORTHANC_OVERRIDE; virtual bool Handle(HttpOutput& output, RequestOrigin origin, @@ -67,7 +67,7 @@ const HttpToolbox::Arguments& headers, const HttpToolbox::GetArguments& getArguments, const void* bodyData, - size_t bodySize); + size_t bodySize) ORTHANC_OVERRIDE; void Register(IHttpHandler& handler, bool isOrthancRestApi);