Static analysis fix

This commit is contained in:
Jérôme Leclercq 2022-02-22 13:31:37 +01:00
parent 0dd8c21543
commit 9ee8196b83
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ namespace Nz
for (auto& lightDataUbo : m_lightDataBuffers) for (auto& lightDataUbo : m_lightDataBuffers)
{ {
renderFrame.PushReleaseCallback([pool = m_lightUboPool, lightUbo = std::move(lightDataUbo.renderBuffer)]() renderFrame.PushReleaseCallback([pool = m_lightUboPool, lightUbo = std::move(lightDataUbo.renderBuffer)]() mutable
{ {
pool->lightUboBuffers.push_back(std::move(lightUbo)); pool->lightUboBuffers.push_back(std::move(lightUbo));
}); });