diff options
Diffstat (limited to 'compat/shared-ptr-wrapper.hpp')
-rw-r--r-- | compat/shared-ptr-wrapper.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compat/shared-ptr-wrapper.hpp b/compat/shared-ptr-wrapper.hpp new file mode 100644 index 00000000..8315d674 --- /dev/null +++ b/compat/shared-ptr-wrapper.hpp @@ -0,0 +1,12 @@ +#pragma once +#include <memory> + +namespace floormat { + +template<typename T> +struct shared_ptr_wrapper final +{ + std::shared_ptr<T> ptr; +}; + +} // namespace floormat |