diff options
| author | crupest <crupest@outlook.com> | 2022-03-05 23:24:15 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-03-05 23:24:15 +0800 |
| commit | 1ddea64a948eca27f17a99f8601d737636be872b (patch) | |
| tree | dd2bafa9385dc8a9e9c14872a7afc98f529038bd /include/cru/ui/mapper/MapperRegistry.h | |
| parent | 7697f1ca3904301e551e7500089b30034e84eb32 (diff) | |
| download | cru-1ddea64a948eca27f17a99f8601d737636be872b.tar.gz cru-1ddea64a948eca27f17a99f8601d737636be872b.tar.bz2 cru-1ddea64a948eca27f17a99f8601d737636be872b.zip | |
...
Diffstat (limited to 'include/cru/ui/mapper/MapperRegistry.h')
| -rw-r--r-- | include/cru/ui/mapper/MapperRegistry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/mapper/MapperRegistry.h b/include/cru/ui/mapper/MapperRegistry.h index 29d26156..ca1170b5 100644 --- a/include/cru/ui/mapper/MapperRegistry.h +++ b/include/cru/ui/mapper/MapperRegistry.h @@ -30,12 +30,12 @@ class CRU_UI_API MapperRegistry { } template <typename T> - BasicRefMapper<T>* GetRefMapper() const { + BasicSharedPtrMapper<T>* GetSharedPtrMapper() const { return GetMapper<std::shared_ptr<T>>(); } template <typename T> - BasicPtrMapper<T>* GetPtrMapper() const { + BasicClonablePtrMapper<T>* GetClonablePtrMapper() const { return GetMapper<ClonablePtr<T>>(); } |
