From 5d006fefcc4e0736c8c81b61be7c0fc2ab6f48be Mon Sep 17 00:00:00 2001 From: skypjack Date: Fri, 31 Oct 2025 15:00:48 +0100 Subject: [PATCH] meta: drop redundant (wrong) const --- src/entt/meta/meta.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index bb0277097..98f81eb5f 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -506,7 +506,7 @@ public: template void emplace(Args &&...args) { storage.emplace(std::forward(args)...); - const auto *prev = std::exchange(vtable, &basic_vtable>>); + auto *prev = std::exchange(vtable, &basic_vtable>>); node = (prev == vtable) ? node : nullptr; }