large code cleanup (#8364)

* Remove redundant qualifiers in filament public headers

* remove redundant qualifiers in filament implementation

* remove redundant qualifiers in libutils public headers

* remove redundant qualifier for libutils implementation

* remove redundant qualifiers for libmath

* use is_same_v<> instead of is_same<>

* bring back Builder::name()

we keep Builder::name() on all object, and forward to the MixIn class
that does the implementation, so that we have correct documentation, and
better IDE completion.

* add missing const parameters in filament's implementation

* various source cleanup

- missing includes
- missing const
- C cast style
- superfluous inline keyword
This commit is contained in:
Mathias Agopian
2025-01-17 17:50:16 -08:00
committed by GitHub
parent 1747ae8f5a
commit bef849b0e3
169 changed files with 1982 additions and 1910 deletions

View File

@@ -49,11 +49,11 @@ void EntityManager::destroy(size_t n, Entity* entities) noexcept {
static_cast<EntityManagerImpl *>(this)->destroy(n, entities);
}
void EntityManager::registerListener(EntityManager::Listener* l) noexcept {
void EntityManager::registerListener(Listener* l) noexcept {
static_cast<EntityManagerImpl *>(this)->registerListener(l);
}
void EntityManager::unregisterListener(EntityManager::Listener* l) noexcept {
void EntityManager::unregisterListener(Listener* l) noexcept {
static_cast<EntityManagerImpl *>(this)->unregisterListener(l);
}