BLI: Fix ListBaseWrapper::get wrong return type

This commit is contained in:
Clément Foucault
2022-11-13 16:48:30 +01:00
parent c255be2d02
commit bd622aef3c

View File

@@ -75,7 +75,7 @@ template<typename T> class ListBaseWrapper {
return Iterator(listbase_, nullptr);
}
T get(uint index) const
T *get(uint index) const
{
void *ptr = BLI_findlink(listbase_, index);
BLI_assert(ptr);