diff --git a/filament/src/details/View.cpp b/filament/src/details/View.cpp index 2567197f84..99dec3377c 100644 --- a/filament/src/details/View.cpp +++ b/filament/src/details/View.cpp @@ -982,7 +982,8 @@ void FView::updateUBOs( // We capture state shared between Scene and the update buffer callback, because the Scene could // be destroyed before the callback executes. - std::weak_ptr* const weakShared = new(std::nothrow) std::weak_ptr(mSharedState); + std::weak_ptr* const weakShared = + new (std::nothrow) std::weak_ptr(mSharedState); // update the UBO driver.resetBufferObject(mRenderableUbh);