From f4b960dc930a5d4a54f27b160b282eee505c5183 Mon Sep 17 00:00:00 2001 From: skypjack Date: Mon, 28 Jul 2025 14:20:38 +0200 Subject: [PATCH] process: enable_shared_from_this to allow callers to get valid references --- src/entt/process/process.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/process/process.hpp b/src/entt/process/process.hpp index 183fefc8a..f5cc45e8c 100644 --- a/src/entt/process/process.hpp +++ b/src/entt/process/process.hpp @@ -69,7 +69,7 @@ struct process_adaptor; * @tparam Allocator Type of allocator used to manage memory and elements. */ template -class basic_process { +class basic_process: std::enable_shared_from_this> { enum class state : std::uint8_t { idle = 0, running,