From 360160b88f35b331f7fdb67264bb16402e34000b Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 12 Feb 2025 19:46:55 -0500 Subject: [SharedCache] Remove designator initialization Fixes MSVC C++17 failing to compile, hopefully. --- view/sharedcache/core/SharedCache.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'view/sharedcache/core/SharedCache.cpp') diff --git a/view/sharedcache/core/SharedCache.cpp b/view/sharedcache/core/SharedCache.cpp index 1f3219df..79cff43e 100644 --- a/view/sharedcache/core/SharedCache.cpp +++ b/view/sharedcache/core/SharedCache.cpp @@ -3591,11 +3591,11 @@ void BackingCache::Store(SerializationContext& context) const BackingCache BackingCache::Load(DeserializationContext& context) { - return BackingCache { - .MSL(path), - .MSL(isPrimary), - .MSL(mappings), - }; + BackingCache cache; + cache.MSL(path); + cache.MSL(isPrimary); + cache.MSL(mappings); + return cache; } #if defined(__GNUC__) || defined(__clang__) -- cgit v1.3.1