mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Remove irr
namespace (#16309)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
template <typename T>
|
||||
std::shared_ptr<T> grab_gui_element(T *element)
|
||||
{
|
||||
static_assert(std::is_base_of_v<irr::gui::IGUIElement, T>,
|
||||
static_assert(std::is_base_of_v<gui::IGUIElement, T>,
|
||||
"grab_gui_element only works for IGUIElement");
|
||||
return std::shared_ptr<T>(element, [](T *e) {
|
||||
e->remove();
|
||||
|
Reference in New Issue
Block a user