diff options
| author | Mason Reed <mason@vector35.com> | 2025-02-12 19:46:55 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-02-12 19:46:55 -0500 |
| commit | 360160b88f35b331f7fdb67264bb16402e34000b (patch) | |
| tree | 293c10d5316471ac91d6308a8e4b0c115b533f6a /view/sharedcache/core/SharedCache.cpp | |
| parent | 8f9645b8d6b55821aa7f9271ae1749574b1eea15 (diff) | |
[SharedCache] Remove designator initialization
Fixes MSVC C++17 failing to compile, hopefully.
Diffstat (limited to 'view/sharedcache/core/SharedCache.cpp')
| -rw-r--r-- | view/sharedcache/core/SharedCache.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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__) |
