diff UnitTestsSources/MemoryCacheTests.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 878b59270859
children cb5d75143da0
line wrap: on
line diff
--- a/UnitTestsSources/MemoryCacheTests.cpp	Thu Nov 08 17:26:17 2018 +0100
+++ b/UnitTestsSources/MemoryCacheTests.cpp	Fri Nov 09 09:06:46 2018 +0100
@@ -186,7 +186,7 @@
     {
     }
 
-    virtual ~Integer()
+    virtual ~Integer() ORTHANC_OVERRIDE
     {
       LOG(INFO) << "Removing cache entry for " << value_;
       log_ += boost::lexical_cast<std::string>(value_) + " ";
@@ -198,7 +198,7 @@
   public:
     std::string log_;
 
-    Orthanc::IDynamicObject* Provide(const std::string& s)
+    virtual Orthanc::IDynamicObject* Provide(const std::string& s) ORTHANC_OVERRIDE
     {
       LOG(INFO) << "Providing " << s;
       return new Integer(log_, boost::lexical_cast<int>(s));