diff options
Diffstat (limited to 'src/engine/machina/types.hpp')
-rw-r--r-- | src/engine/machina/types.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/engine/machina/types.hpp b/src/engine/machina/types.hpp index e9ac7d0..61137b7 100644 --- a/src/engine/machina/types.hpp +++ b/src/engine/machina/types.hpp @@ -20,7 +20,7 @@ #include <map> #include <memory> -#include "raul/RingBuffer.hpp" +#include "raul/Maid.hpp" namespace machina { @@ -37,9 +37,13 @@ using SPtr = std::shared_ptr<T>; template <class T> using WPtr = std::weak_ptr<T>; + +template <class T> +using MPtr = Raul::managed_ptr<T>; #else #define SPtr std::shared_ptr #define WPtr std::weak_ptr +#define MPtr Raul::managed_ptr #endif template <class T> |