fixed compiler error in clang

2 jobs for feature/34-optimize-rendering in 3 minutes and 20 seconds (queued for 1 minute and 14 seconds)