diff --git a/filament/src/ShadowMapManager.h b/filament/src/ShadowMapManager.h index a6dc21cab309..ba606c6eb4d3 100644 --- a/filament/src/ShadowMapManager.h +++ b/filament/src/ShadowMapManager.h @@ -230,7 +230,7 @@ class ShadowMapManager { // Inline storage for all our ShadowMap objects, we can't easily use a std::array<> directly. // Because ShadowMap doesn't have a default ctor, and we avoid out-of-line allocations. // Each ShadowMap is currently 88 bytes (total of ~12KB for 128 shadow maps) - using ShadowMapStorage = std::aligned_storage::type; + using ShadowMapStorage = std::aligned_storage_t; using ShadowMapCacheContainer = std::array; ShadowMapCacheContainer mShadowMapCache; uint32_t mDirectionalShadowMapCount = 0;