summaryrefslogtreecommitdiffstats
path: root/ksvg/impl/libs/libtext2path/src/Cache.h
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2022-01-22 14:26:43 +0900
committerOBATA Akio <obache@wizdas.com>2022-01-22 14:39:50 +0900
commit9cdb76ebff291001528f1adc74f67966e24c08b5 (patch)
tree2601793c4fa0cdaeecf6c4c8e4e020dd3c1c986a /ksvg/impl/libs/libtext2path/src/Cache.h
parentfb36eda6aa78235063dc1445775ab2c09a5be522 (diff)
downloadtdegraphics-9cdb76ebff291001528f1adc74f67966e24c08b5.tar.gz
tdegraphics-9cdb76ebff291001528f1adc74f67966e24c08b5.zip
ksvg/libtext2path: use c++11 std:shared_ptr instead of bundled old boost one
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'ksvg/impl/libs/libtext2path/src/Cache.h')
-rw-r--r--ksvg/impl/libs/libtext2path/src/Cache.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ksvg/impl/libs/libtext2path/src/Cache.h b/ksvg/impl/libs/libtext2path/src/Cache.h
index 6f6ca705..531135e0 100644
--- a/ksvg/impl/libs/libtext2path/src/Cache.h
+++ b/ksvg/impl/libs/libtext2path/src/Cache.h
@@ -25,8 +25,7 @@
#include <string>
#include <vector>
#include <iostream>
-
-#include "myboost/shared_ptr.h"
+#include <memory>
namespace T2P
{
@@ -50,7 +49,7 @@ namespace T2P
class Cache
{
public:
- typedef myboost::shared_ptr<T> SharedT;
+ typedef std::shared_ptr<T> SharedT;
Cache(int maxSize = 10) : m_size(0), m_maxSize(maxSize) { }
~Cache() { clear(); }