diff options
| author | OBATA Akio <obache@wizdas.com> | 2022-01-22 14:26:43 +0900 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2022-01-22 19:00:03 +0100 |
| commit | 6388395cd3959459662a93cd3f2ca0576a4f3a5a (patch) | |
| tree | b630301eb5ee560091a89431d1547a2b038b16cd /ksvg/impl/libs/libtext2path/src/Cache.h | |
| parent | 15195be8247e50b9ff2286468729d065a6c05294 (diff) | |
| download | tdegraphics-6388395cd3959459662a93cd3f2ca0576a4f3a5a.tar.gz tdegraphics-6388395cd3959459662a93cd3f2ca0576a4f3a5a.zip | |
ksvg/libtext2path: use c++11 std:shared_ptr instead of bundled old boost one
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 9cdb76ebff291001528f1adc74f67966e24c08b5)
Diffstat (limited to 'ksvg/impl/libs/libtext2path/src/Cache.h')
| -rw-r--r-- | ksvg/impl/libs/libtext2path/src/Cache.h | 5 |
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(); } |
