Mercurial > hg > orthanc
diff UnitTestsSources/RestApiTests.cpp @ 2924:22524fd06225
macros ORTHANC_OVERRIDE and ORTHANC_FINAL
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2018 09:06:46 +0100 |
parents | 0e1b79bc4a2d |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/UnitTestsSources/RestApiTests.cpp Thu Nov 08 17:26:17 2018 +0100 +++ b/UnitTestsSources/RestApiTests.cpp Fri Nov 09 09:06:46 2018 +0100 @@ -286,7 +286,7 @@ virtual bool Visit(const RestApiHierarchy::Resource& resource, const UriComponents& uri, const IHttpHandler::Arguments& components, - const UriComponents& trailing) + const UriComponents& trailing) ORTHANC_OVERRIDE { return resource.Handle(*(RestApiGetCall*) NULL); } @@ -381,7 +381,7 @@ } virtual void Handle(const std::string& type, - const std::string& subtype) + const std::string& subtype) ORTHANC_OVERRIDE { type_ = type; subtype_ = subtype;