diff options
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/types.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ingen/types.hpp b/ingen/types.hpp index d1055e22..30072b3f 100644 --- a/ingen/types.hpp +++ b/ingen/types.hpp @@ -31,10 +31,14 @@ template <class T> using WPtr = std::weak_ptr<T>; template <class T> +using UPtr = std::unique_ptr<T>; + +template <class T> using MPtr = Raul::managed_ptr<T>; #else #define SPtr std::shared_ptr #define WPtr std::weak_ptr +#define UPtr std::unique_ptr #define MPtr Raul::managed_ptr #endif |