stl: std::static_pointer_cast

This commit is contained in:
skypjack
2026-04-16 15:40:18 +02:00
parent be026136db
commit 92a03e184d
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1049,7 +1049,7 @@ public:
using handler_type = group_type::handler;
if(auto it = groups.find(group_type::group_id()); it != groups.cend()) {
return {*std::static_pointer_cast<handler_type>(it->second)};
return {*stl::static_pointer_cast<handler_type>(it->second)};
}
stl::shared_ptr<handler_type> handler{};
@@ -1073,7 +1073,7 @@ public:
using handler_type = group_type::handler;
if(auto it = groups.find(group_type::group_id()); it != groups.cend()) {
return {*std::static_pointer_cast<handler_type>(it->second)};
return {*stl::static_pointer_cast<handler_type>(it->second)};
}
return {};
+1
View File
@@ -16,6 +16,7 @@ using std::allocator_traits;
using std::make_unique;
using std::pointer_traits;
using std::shared_ptr;
using std::static_pointer_cast;
using std::unique_ptr;
} // namespace entt::stl