diff OrthancFramework/Sources/Cache/MemoryStringCache.h @ 4279:ab4d015af660

moving inline methods to source files for ABI compatibility
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 20:48:01 +0100
parents bf7b9edf6b81
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/Cache/MemoryStringCache.h	Tue Nov 03 20:05:55 2020 +0100
+++ b/OrthancFramework/Sources/Cache/MemoryStringCache.h	Tue Nov 03 20:48:01 2020 +0100
@@ -38,23 +38,14 @@
     MemoryObjectCache  cache_;
 
   public:
-    size_t GetMaximumSize()
-    {
-      return cache_.GetMaximumSize();
-    }
+    size_t GetMaximumSize();
     
-    void SetMaximumSize(size_t size)
-    {
-      cache_.SetMaximumSize(size);
-    }
+    void SetMaximumSize(size_t size);
 
     void Add(const std::string& key,
              const std::string& value);
     
-    void Invalidate(const std::string& key)
-    {
-      cache_.Invalidate(key);
-    }
+    void Invalidate(const std::string& key);
 
     bool Fetch(std::string& value,
                const std::string& key);