diff UnitTestsSources/MemoryCacheTests.cpp @ 1654:3727a09e7b53

fix some icc warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 Sep 2015 15:03:35 +0200
parents 9f66a12eb8fc
children b1291df2f780
line wrap: on
line diff
--- a/UnitTestsSources/MemoryCacheTests.cpp	Mon Sep 28 13:49:48 2015 +0200
+++ b/UnitTestsSources/MemoryCacheTests.cpp	Mon Sep 28 15:03:35 2015 +0200
@@ -190,11 +190,6 @@
       LOG(INFO) << "Removing cache entry for " << value_;
       log_ += boost::lexical_cast<std::string>(value_) + " ";
     }
-
-    int GetValue() const 
-    {
-      return value_;
-    }
   };
 
   class IntegerProvider : public Orthanc::ICachePageProvider
@@ -235,8 +230,6 @@
 
 
 
-
-
 namespace
 {
   class S : public Orthanc::IDynamicObject
@@ -253,11 +246,6 @@
     {
       return value_;
     }
-
-    static const std::string& Access(const Orthanc::IDynamicObject& obj)
-    {
-      return dynamic_cast<const S&>(obj).GetValue();
-    }
   };
 }